Remap arrow keys to cycle buffers/tabs
Remap up and down to cycle back and forth through buffers, and left and right to switch tabs:
map <left> :tabprevious<cr>
map <right> :tabnext<cr>
map <up> :bn<cr>
map <down> :bp<cr>
Written by Jeff Long
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#