diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:46:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:46:19 +1200 |
commit | 2c382f4be48cc52840eb3fe21106039cc045a7a4 (patch) | |
tree | f6df6daa25ce96e546968a5d3acb72c35cd0131c | |
parent | Update vim-colon-operator to v0.5.0 (diff) | |
download | dotfiles-2c382f4be48cc52840eb3fe21106039cc045a7a4.tar.gz dotfiles-2c382f4be48cc52840eb3fe21106039cc045a7a4.zip |
Use :map then :sunmap to abbreviate nox mappings
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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> |