If I add a file to the same directory opened in NERDTree
, the only way I can see the file added is if I quit vim and start it again .
Is there a way I can
Instead of hitting R in the NERDTree
window, I use a custom map that does it for me:
nmap r :NERDTreeRefreshRoot
I've mapped it to Leader + r, but you can map it to whatever you want.
Explanation:
NERDTree
windowR
key)Note: You can add a last step to refresh CtrlP along with NERDTree