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
nerdtreevim
How can I achieve this situation?
:!ls
command and see the contents of the directory in that NERDTree is displaying
Best Answer
Try
:help NERDTreeChDirMode
. Setting it to2
will do what you want.