How can I achieve this situation?
Try :help NERDTreeChDirMode. Setting it to 2 will do what you want.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago