7
1
How can I achieve this situation?
- Open vim in my home folder.
- Navigate somewhere with NERDTree
- Run the
:!ls
command and see the contents of the directory in that NERDTree is displaying
7
1
How can I achieve this situation?
:!ls
command and see the contents of the directory in that NERDTree is displaying11
Try :help NERDTreeChDirMode
. Setting it to 2
will do what you want.
1i got it thanks! but to be complete (i'm not a vim guru) the answer will include also ":helptags ~/.vim/doc" to get docs aviable and "let g:NERDTreeChDirMode=2" in .vimrc – nkint – 2011-04-26T22:29:48.450