Skip to content

Keep alternate file when opening files in place #2530

Closed
@rosds

Description

@rosds

Can this functionality be implemented utilising API?
It's about using :keepalt in addition to the already in place :keepjumps in the edit_in_current_file function

Is your feature request related to a problem? Please describe.
not a bug per se, when using nvim-tree as in vinegar the alternate file info is lost when opening files - similar to what happened with the jump list in #1824

Describe the solution you'd like
Similar to the solution for #1824 that added :keepjumps in #1825, the solution would be about adding :keepalt as well.

Describe alternatives you've considered
implement my own open function 🤷

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