diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-23 15:52:34 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-23 15:52:34 +1200 |
commit | 126652898c670f89cd6d560c9eec0b4355285a81 (patch) | |
tree | db5bdd8b8d0f202cc052ba65bfcfd5f6820ca975 /vim | |
parent | Blank 'ttymouse' in Vim (diff) | |
download | dotfiles-126652898c670f89cd6d560c9eec0b4355285a81.tar.gz dotfiles-126652898c670f89cd6d560c9eec0b4355285a81.zip |
Allow count prefixes for [,] maps
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -199,17 +199,17 @@ if exists(':xnoremap') endif " Cycle through argument list -nnoremap [a :<C-U>previous<CR> -nnoremap ]a :<C-U>next<CR> +nnoremap [a :previous<CR> +nnoremap ]a :next<CR> " Cycle through buffers -nnoremap [b :<C-U>bprevious<CR> -nnoremap ]b :<C-U>bnext<CR> +nnoremap [b :bprevious<CR> +nnoremap ]b :bnext<CR> " Cycle through quicklist/:helpgrep items -nnoremap [c :<C-U>cprevious<CR> -nnoremap ]c :<C-U>cnext<CR> +nnoremap [c :cprevious<CR> +nnoremap ]c :cnext<CR> " Cycle through location list items -nnoremap [l :<C-U>lprevious<CR> -nnoremap ]l :<C-U>lnext<CR> +nnoremap [l :lprevious<CR> +nnoremap ]l :lnext<CR> " Cycle through tabs nnoremap [t :<C-U>tabprevious<CR> nnoremap ]t :<C-U>tabnext<CR> |