diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-07 11:33:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-07 11:33:08 +1200 |
commit | 29b44b505186010b5be1e06f78891f366cd47cc4 (patch) | |
tree | 78d5d33d76199ddd459d846ade8f1bf33c58d9e7 /vim | |
parent | Update cursorline_current.vim plugin (diff) | |
download | dotfiles-29b44b505186010b5be1e06f78891f366cd47cc4.tar.gz dotfiles-29b44b505186010b5be1e06f78891f366cd47cc4.zip |
Add "whole buffer" object an experiment
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |