diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-02 23:27:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-02 23:27:00 +1200 |
commit | 02d2f19ea6036f2be9fdf94bf0e53591a7003721 (patch) | |
tree | c9fddfddabe68c4638c87c8e96d681e36f21c3b5 /vim/vimrc | |
parent | Remove visual_block_suspend_wrap.vim (diff) | |
download | dotfiles-02d2f19ea6036f2be9fdf94bf0e53591a7003721.tar.gz dotfiles-02d2f19ea6036f2be9fdf94bf0e53591a7003721.zip |
Use \_ as Vim text object for `[,`] marks
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -389,6 +389,9 @@ nnoremap <Bslash>. :<C-U>lmake!<CR> nnoremap <Bslash><lt> :<C-U>'[,']<lt><CR> nnoremap <Bslash>> :<C-U>'[,']><CR> +" \_ uses last changed or yanked text as an object +onoremap <Bslash>_ :<C-U>normal! `[v`]<CR> + " \{ and \} move to lines with non-space chars before current column nmap <Bslash>{ <Plug>(VerticalRegionUpNormal) nmap <Bslash>} <Plug>(VerticalRegionDownNormal) |