How do I prevent NERDTree from changing the CWD when I open a file node?
I usually open a project folder with
cd apps/project
vim .
I want NERDTree’s current working directory to be fixed with (apps/project) when i open a file node.
I tried :let NERDTreeChDirMode=0, but it does not work.
The
let NERDTreeChDirMode=0should be put in your ~/.vimrc.local for the spf13 vim plugin distribution, not executed after the fact. Also make sure thatacdorautochdiris not in your ~/.vimrc.local.