aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-09-07 11:33:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-09-07 11:33:27 +1200
commitb6b86872f55d2d363e60bcc3de6e1091f36a1d3f (patch)
treeff9629c3402815cf95a839e6cf08432a3515ee00
parent29b44b505186010b5be1e06f78891f366cd47cc4 (diff)
downloaddotfiles-b6b86872f55d2d363e60bcc3de6e1091f36a1d3f.tar.gz
Specify object type in comments
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 7237cfd1..eb7f04d3 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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