Pressing - calls dir_up and changes root directory to the one above. This is good for when you need something above the current project tree. However once you are done with those files, the tree now has a different root and is a bit harder to work with, as it might have many unnecessary items displayed.
After I am done working in the upper directory I would like to "scope" the tree back into some other child directory. Basically I want to change the root directory to some other.
I went through the :help NvimTree but couldn't really find anything like "dir_down", or "change_root", etc.
Pressing
-callsdir_upand changes root directory to the one above. This is good for when you need something above the current project tree. However once you are done with those files, the tree now has a different root and is a bit harder to work with, as it might have many unnecessary items displayed.After I am done working in the upper directory I would like to "scope" the tree back into some other child directory. Basically I want to change the root directory to some other.
I went through the
:help NvimTreebut couldn't really find anything like "dir_down", or "change_root", etc.