From 99eece3f8337fb5928765de16b94ae52374e00db Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Thu, 3 Jun 2021 11:39:14 -0600 Subject: [fix] Update a couple outdated vim mappings --- base/vimrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'base/vimrc') diff --git a/base/vimrc b/base/vimrc index a5e4be4..0db1a1e 100644 --- a/base/vimrc +++ b/base/vimrc @@ -158,14 +158,14 @@ set noswapfile " Note: swap helps large files. " Quickly edit/reload the vimrc file nnoremap ve :tabe $MYVIMRC -nnoremap vs :so $MYVIMRC +nnoremap vr :so $MYVIMRC nnoremap :set invpaste paste? set pastetoggle= nnoremap W :%s/\s\+$//:let @/='' nnoremap ft Vatzf -nnoremap S ?{jV/^\s*\}?$k:sort:noh +nnoremap S ?{jV/^\s*\}\?$k:sort:noh nnoremap q gqip nnoremap vp `[V`] nnoremap h :syntax sync fromstart @@ -174,13 +174,10 @@ nnoremap [ :put! =repeat(nr2char(10), v:count1)'[ nnoremap ] :put =repeat(nr2char(10), v:count1) noremap y "+y -noremap yy "+Y +noremap Y "+Y noremap p :set paste:put +:set nopaste vnoremap p "_dP -noremap + :s/^\s*/&\/\//:noh -noremap - :s/^\(\s*\)\/\//\1/:noh - vnoremap Q gq nnoremap Q gqap -- cgit v1.2.3-70-g09d2