diff options
author | Adam Hovorka <[email protected]> | 2017-11-15 19:46:27 -0700 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2017-11-15 19:46:27 -0700 |
commit | 59f5e6bc17c0b1165db259ca729a00f22a5adab9 (patch) | |
tree | 3c712e606da51c8ea748ef03de5b61bab40e80b1 /base/vimrc | |
parent | 1f973877f1de5a8c416e29a23202c640eefbacf6 (diff) |
Fix some vim shortcuts
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> |