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...
(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.
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.
An additional option (and my personal choice)beyond the ones listed by Michael Madsen:
gt
= next tab
gT
= previous tab
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With