How to jump back to NERDTree from file in tab?

Nikita Fedyashev picture Nikita Fedyashev · Nov 1, 2009 · Viewed 105.2k times · Source

I usually:

  1. Choose the needed file.
  2. Open it in a tab(t character, by default).

But how I can jump back to NERDTree to open one more file in a tab?

Temporary solution I use now in my .vimrc file:

map <F10> :NERDTree /path/to/root/of/my/project

But it's not very useful to start navigation again and again from the root directory.

Answer

rg88 picture rg88 · Nov 1, 2009

Ctrl-ww

This will move between open windows (so you could hop between the NERDTree window, the file you are editing and the help window, for example... just hold down Ctrl and press w twice).