Search code examples
vimmacvimvim-pluginnerdtree

How can I set a default path for NERDTree in vim


I'm using NERDTree with my MACVIM. How can I specify in my .vimrc that I want NERDTree to show the following path on startup :

/Users/<me>/dev

Solution

  • I did a simple cd /Users/<me>/dev in the .vimrc