aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 13:46:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 13:46:19 +1200
commit2c382f4be48cc52840eb3fe21106039cc045a7a4 (patch)
treef6df6daa25ce96e546968a5d3acb72c35cd0131c
parentUpdate vim-colon-operator to v0.5.0 (diff)
downloaddotfiles-2c382f4be48cc52840eb3fe21106039cc045a7a4.tar.gz
dotfiles-2c382f4be48cc52840eb3fe21106039cc045a7a4.zip
Use :map then :sunmap to abbreviate nox mappings
-rw-r--r--vim/vimrc10
1 files changed, 4 insertions, 6 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a8c216dc..29e2a80c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -429,12 +429,10 @@ onoremap <Leader>_ :<C-U>normal! `[v`]<CR>
onoremap <Leader>% :<C-U>normal! 1GVG<CR>
" \{ and \} move to lines with non-space chars before current column
-nmap <Leader>{ <Plug>(VerticalRegionUp)
-nmap <Leader>} <Plug>(VerticalRegionDown)
-omap <Leader>{ <Plug>(VerticalRegionUp)
-omap <Leader>} <Plug>(VerticalRegionDown)
-xmap <Leader>{ <Plug>(VerticalRegionUp)
-xmap <Leader>} <Plug>(VerticalRegionDown)
+map <Leader>{ <Plug>(VerticalRegionUp)
+sunmap <Leader>{
+map <Leader>} <Plug>(VerticalRegionDown)
+sunmap <Leader>}
" \/ types :vimgrep for me ready to enter a search pattern
nnoremap <Leader>/ :<C-U>vimgrep /\c/j **<S-Left><S-Left><Right>