Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Can anyone show me how to setup Nerdtree default directory ?

Everytime I open nerdtree it always point to my "documents and setting/user/"

How can I tell nerdtree to point to "D:/working/"


share|improve this question

migrated from Oct 24 '12 at 15:01

This question came from our site for professional and enthusiast programmers.

This should be on superuser rather than stackoverflow. – Jason Down Oct 24 '12 at 14:38

Add a custom mapping to your ~/.vimrc:

nnoremap <F9> :NERDTreeToggle /path/to/directory

The set autochdir option may pick your interest, BTW.

share|improve this answer

You must log in to answer this question.