Skip to content

Option to prevent nvim-tree buffer resisting being substituted #1829

Closed
@Tolomeo

Description

@Tolomeo

Is this a question?
No

Can this functionality be implemented utilising API?
No

Is your feature request related to a problem? Please describe.
I like to use the project tree explorer as a split window rather than a project drawer so I use nvim-tree configured like vinegar.
The issue I have is its buffer resists being replaced, forcing me every time to close it manually.
That happens for example trying to open a location from the quickfix list and nvim-tree is the only other buffer displayed in a window

Describe the solution you'd like
It would be nice to have a configuration option which could make it possible to turn off the default behaviour (resisting to buffer replacements).

Describe alternatives you've considered
None yet

Additional context
I could attempt a PR if needed

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