Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NERDTree not updating tree structure

Tags:

vim

I have installed NERDTree plugin in my vim. What I noticed is that when I create files via command prompt .. the newly created file does not get reflected in the NERDTree display.

Is there a add-on I am missing here ?

like image 846
runtimeZero Avatar asked Sep 13 '25 11:09

runtimeZero


1 Answers

  1. I would highly recommend to use NERDTree itself for file system manipulations, things like creating directories / files is done very easily from within NERDTree. Use the m within nerdtree to open the text based 'menu' for various operations you can perform on the file system.

  2. Even if you need to create files outside of vim, or maybe the files are generated etc, just hit r mapping within NERDTree to refresh the nerdtree and it'll show your created files / directories correctly.

  3. For quick help, hit ? within NERDTree buffer to have a look at it's API.

like image 100
Dhruva Sagar Avatar answered Sep 16 '25 03:09

Dhruva Sagar