When I open a file in vim with (Directory A in) NERDTree
, it works well.
But if I open one more file in another directory (Directory B), it doesn't refresh to show the contents of directory B (While it still shows directory A).
Can NERDTree
automatically refresh by itself?
The :wqa command will write all changed buffers and exit Vim. This will close down NerdTree, too.
From https://gist.github.com/geekontheway/2667442 : just hit the r
or R
key to refresh the current tree. Could be mapped to auto refresh in .vimrc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With