aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-23 15:52:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-23 15:52:34 +1200
commit126652898c670f89cd6d560c9eec0b4355285a81 (patch)
treedb5bdd8b8d0f202cc052ba65bfcfd5f6820ca975
parentBlank 'ttymouse' in Vim (diff)
downloaddotfiles-126652898c670f89cd6d560c9eec0b4355285a81.tar.gz
dotfiles-126652898c670f89cd6d560c9eec0b4355285a81.zip
Allow count prefixes for [,] maps
-rw-r--r--vim/vimrc16
1 files changed, 8 insertions, 8 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 3a9abd3e..550488b4 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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>