I\'ve just started using the NERDTree vim plugin for my project.
I can\'t find the documentation for switching between opened tabs. Can anyone tell me the shortcut k
my settings
map <F2> :NERDTreeToggle<cr>
map <C-Right> :tabn<cr>
map <C-Left> :tabp<cr>
An additional option (and my personal choice)beyond the ones listed by Michael Madsen:
gt
= next tab
gT
= previous tab
I like to bind my vim navigation keys to switching between tabs. Here are the lines from my .vimrc
file:
map <C-l> :tabn<CR>
map <C-h> :tabp<CR>
map <C-n> :tabnew<CR>
That way, I can switch between tabs using the left and right buttons just like I normally would move the cursor, except I just hold the Control key as well.