aboutsummaryrefslogtreecommitdiff
path: root/base/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'base/vimrc')
-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>