aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-11-15 19:46:27 -0700
committerAdam Hovorka <[email protected]>2017-11-15 19:46:27 -0700
commit59f5e6bc17c0b1165db259ca729a00f22a5adab9 (patch)
tree3c712e606da51c8ea748ef03de5b61bab40e80b1
parent1f973877f1de5a8c416e29a23202c640eefbacf6 (diff)
Fix some vim shortcuts
-rw-r--r--base/vimrc5
1 files changed, 3 insertions, 2 deletions
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 <leader>; ;
+noremap <leader>; ;
noremap ; :
" Highlighting ====----
@@ -136,9 +136,10 @@ nnoremap <leader>W :%s/\s\+$//<cr>:let @/=''<CR>
nnoremap <leader>ft Vatzf
nnoremap <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:noh<CR>
nnoremap <leader>q gqip
-nnoremap <leader>vp V`]
+nnoremap <leader>vp `[V`]
nnoremap <leader>h :syntax sync fromstart<CR>
nnoremap <leader>l :nohlsearch<cr>:diffupdate<cr>:syntax sync fromstart<cr><c-l>
+nnoremap <leader>l :nohlsearch<cr>:diffupdate<cr>:syntax sync fromstart<cr><c-l>
nnoremap [<space> :<c-u>put! =repeat(nr2char(10), v:count1)<cr>'[
nnoremap ]<space> :<c-u>put =repeat(nr2char(10), v:count1)<cr>