diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-10 00:20:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-10 00:20:51 +1200 |
commit | 192af8c7f52d0b9ab3660f83fd5605653a979bef (patch) | |
tree | 77908a6596f96e5dfb25276e5a60fe7b06f5c3f2 /vim/vimrc | |
parent | Merge branch 'release/v1.51.0' into develop (diff) | |
download | dotfiles-192af8c7f52d0b9ab3660f83fd5605653a979bef.tar.gz dotfiles-192af8c7f52d0b9ab3660f83fd5605653a979bef.zip |
Add vertical_region.vim plugin
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -318,6 +318,16 @@ nnoremap <Bslash>. :<C-U>lmake!<CR> nnoremap <Bslash><lt> :<C-U>'[,']<lt><CR> nnoremap <Bslash>> :<C-U>'[,']><CR> +" \{ and \} move to lines with non-space chars before current column +nmap <Bslash>{ <Plug>(VerticalRegionUpNormal) +nmap <Bslash>} <Plug>(VerticalRegionDownNormal) +omap <Bslash>{ <Plug>(VerticalRegionUpOperator) +omap <Bslash>} <Plug>(VerticalRegionDownOperator) +if exists(':xmap') + xmap <Bslash>{ <Plug>(VerticalRegionUpVisual) + xmap <Bslash>} <Plug>(VerticalRegionDownVisual) +endif + " \/ types :vimgrep for me ready to enter a search pattern nnoremap <Bslash>/ :<C-U>vimgrep /\c/ **<S-Left><S-Left><Right> " \? types :helpgrep for me ready to enter a search pattern |