Skip to content

Auto expand to current file #2905

@BhasherBEL

Description

@BhasherBEL

Is your feature request related to a problem? Please describe.
When opening a file, i.e. with nvim a/b/c.sh, nvim tree shows the current folder, which is really nice, but don't expand to the opened file.

Describe the solution you'd like
It would be nice to be able to automatically expend the tree up to the current file, at least at startup, but probably also when using commands such as :split, :edit, ...

Describe alternatives you've considered
For now, I manually expand the tree, but it's not really a long-term solution.

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