Skip to content

FEATURE: Restore expanded/collapsed folders state after reopening project #1870

@adamantii

Description

@adamantii

Did you check the docs?

  • I have read all the docs.

Is your feature request related to a problem? Please describe.

I would like it if, when re-opening Neovim and NeoTree in a project directory, NeoTree could restore the state of expanded/collapsed folders in the file tree from the previous session, to avoid having to re-expand certain folders again after every restart.

Describe the solution you'd like.

Having a config option to enable NeoTree to store the state of expanded/collapsed folders in persistent storage and, when NeoTree is first opened in the next session, restore that state.

Describe alternatives you've considered.

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions