Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If NERDTree starts up somewhere in the C: drive, once I reach C:\ itself (which NERDTree considers as "/"), I get the message "already at top dir" if I try to click on the double dot ..

NERDTree's help is all about navigating up and down directories, but there doesn't seem to be a way to directly specify a path to change to. Is there? Or is there any other way of switching drives on Windows?

Edit: I found the roundabout way of: changing Vim's directory with :cd D:\, then :NERDTreeCWD. Is there a better, more direct way?

share|improve this question
:NERDTree /path/to/dir

opens NERDTree in the specified directory.

It is generally a better idea to start Vim in the directory you wich to work in, though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.