From 59f5e6bc17c0b1165db259ca729a00f22a5adab9 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Wed, 15 Nov 2017 19:46:27 -0700 Subject: Fix some vim shortcuts --- base/vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'base/vimrc') diff --git a/base/vimrc b/base/vimrc index fbd6468..acb159f 100644 --- a/base/vimrc +++ b/base/vimrc @@ -11,7 +11,7 @@ au FocusLost * :wa " Leader ====---- nnoremap ,, , let mapleader="," -nnoremap ; ; +noremap ; ; noremap ; : " Highlighting ====---- @@ -136,9 +136,10 @@ nnoremap W :%s/\s\+$//:let @/='' nnoremap ft Vatzf nnoremap S ?{jV/^\s*\}?$k:sort:noh nnoremap q gqip -nnoremap vp V`] +nnoremap vp `[V`] nnoremap h :syntax sync fromstart nnoremap l :nohlsearch:diffupdate:syntax sync fromstart +nnoremap l :nohlsearch:diffupdate:syntax sync fromstart nnoremap [ :put! =repeat(nr2char(10), v:count1)'[ nnoremap ] :put =repeat(nr2char(10), v:count1) -- cgit v1.2.3-70-g09d2