From 74e9c24a40ebe635039ba6c59a6804dffc724f54 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Mon, 31 Jan 2022 19:46:19 -0500 Subject: [PATCH] Correct wiki mappings. --- .vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index fdef6dd..64545fc 100644 --- a/.vimrc +++ b/.vimrc @@ -23,7 +23,13 @@ else endif let mapleader=" " -nnoremap w yiwq:PI!fd -x cat fzf -q +"nnoremap w yiwq:PIe `~/.shell_aliases ws +"nnoremap w yiw:let srr_back = &srr set srr=>q:PIr! /home/sage/.shell_aliases wf +" TODO Check if file needs saving +" TODO Set and unset srr from within map +set srr=> +nnoremap w yiw:wq:PIr! /home/sage/.shell_aliases wf yyuq:PIe +nnoremap s yiw:wq:PIr! /home/sage/.shell_aliases wf yyuq:PIvsp " " Auto open NERDTree but focus editing window " autocmd VimEnter * NERDTree