From 42f9b8a993331b31eecd236a3d8e34e9806e71bb Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Sat, 20 Nov 2021 17:14:48 +0000 Subject: [PATCH] vim: tidy vimrc remaps --- vimrc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/vimrc b/vimrc index c0dfc96..af015a9 100644 --- a/vimrc +++ b/vimrc @@ -337,21 +337,13 @@ noremap 2 " =================================================================== " VIM - Editing and updating the vimrc: -" As I often make changes to this file I use these commands -" to start editing it and also update it: -" Redundant - replaced by $MYVIMRC -" if has("unix") -" let vimrc='~/.vimrc' -" else -" " ie: if has("dos16") || has("dos32") || has("win32") -" let vimrc='$VIM\_vimrc' -" endif " Re-source and edit vimrc, respectively nnoremap ,u :source $MYVIMRC nnoremap ,v :edit $MYVIMRC -" nnoremap ,v :vsplit $MYVIMRC nnoremap ,v :vsplit $MYVIMRC +nnoremap ,i :PlugInstall + nn ,s :mks! Session.vim