How to open the parent dir of the current file in NERDTree?
Solution 1:
:NERDTree %
Works for me. % is the path to the current file, so you can't cd to %, but NERDTree interprets it intelligently and opens the folder instead of the file.
:NERDTree %
Works for me. % is the path to the current file, so you can't cd to %, but NERDTree interprets it intelligently and opens the folder instead of the file.