Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching between tabs in NERDTree

Tags:

vim

nerdtree

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 key[s] ?

Thanks...

like image 609
Rimian Avatar asked Mar 09 '10 22:03

Rimian


People also ask

How do you switch windows in NERDTree?

(1) Thus, if your edit window is to the right of the NERDTree window, you would use: ctrl + W l to go to right window and ctrl + W h to go to left window. or ctrl + w twice to toggle between the two.

How do you change tabs in Vim?

To close a tab, use :tabc. To switch to the next tab, use :tabn, and to switch to the previous tab, use :tabp (short for tabnext and tabprevious respectively). You can also jump over tabs by using :tabn 2, which will move to the second next tab.


1 Answers

An additional option (and my personal choice)beyond the ones listed by Michael Madsen:

gt = next tab

gT = previous tab

like image 56
Chad Birch Avatar answered Sep 21 '22 21:09

Chad Birch