diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-07 11:33:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-07 11:33:27 +1200 |
commit | b6b86872f55d2d363e60bcc3de6e1091f36a1d3f (patch) | |
tree | ff9629c3402815cf95a839e6cf08432a3515ee00 /vim/vimrc | |
parent | Add "whole buffer" object an experiment (diff) | |
download | dotfiles-b6b86872f55d2d363e60bcc3de6e1091f36a1d3f.tar.gz dotfiles-b6b86872f55d2d363e60bcc3de6e1091f36a1d3f.zip |
Specify object type in comments
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -398,10 +398,10 @@ 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 +" \_ uses last changed or yanked text as a characterwise object onoremap <Bslash>_ :<C-U>normal! `[v`]<CR> -" \% uses entire buffer as an object +" \% uses entire buffer as a linewise object onoremap <Bslash>% :<C-U>normal! 1GVG<CR> " \{ and \} move to lines with non-space chars before current column |