I’m using the vim project plugin to manage a project, and whenever a new file goes in I need to use \R to refresh the project tree. This is fine, but I recently created a new directory in the tree, and \R doesn’t update it and put it into the project.
What am I doing wrong?
\Ronly updates the folds. The only satisfactory ways I’ve found to do add new directories is either to remove the entry and re-run\Cto create the project again (I only tend to use this if there are a lot of new directories to include) or to add the directory manually like this:and then hit
\rin that fold.Although I’ve find this frustrating at times, I tend to consider it a feature now: I have a Documentation directory in my project, which contains all of the doxygen generated files and directories, of which there are masses. If I use
\Cafter running doxygen, there are a ridiculous number of folds, so I then delete them from the list.\Rthen doesn’t re-add them, which is a good thing.It also means I can have (for example) a daft folder structure like this:
and have it displayed as:
which is at least a BIT more manageable.