How do I refresh file tree in NERDTree ?
If I use:
:!touch SomeNewFile
It is not rendered in the tree.
How do I refresh file tree in NERDTree ?
If I use:
:!touch SomeNewFile
It is not rendered in the tree.
The NERD tree quick help is accessible from the NERD tree window by typing ? There I read:
" Filesystem mappings~
...
" r: refresh cursor dir
" R: refresh current root
These should do what you ask.
I use a custom map to refresh NERDTree:
nmap <Leader>r :NERDTreeFocus<cr> \| R \| <c-w><c-p>
Once set, Leader + r will do this for you:
NERDTreeNote: My key map has a last step where it refreshes CtrlP after refreshing NERDTree