aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2f60a31b..7237cfd1 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -401,6 +401,9 @@ nnoremap <Bslash>> :<C-U>'[,']><CR>
" \_ uses last changed or yanked text as an object
onoremap <Bslash>_ :<C-U>normal! `[v`]<CR>
+" \% uses entire buffer as an object
+onoremap <Bslash>% :<C-U>normal! 1GVG<CR>
+
" \{ and \} move to lines with non-space chars before current column
nmap <Bslash>{ <Plug>(VerticalRegionUpNormal)
nmap <Bslash>} <Plug>(VerticalRegionDownNormal)