Skip to content

Scope down or change root of the tree #1250

@lawrence-laz

Description

@lawrence-laz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions