Skip to content

Don't explicitly ask for window-id when opening file in split-view #3130

@kusnezoff-alexander

Description

@kusnezoff-alexander

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

I don't want to explicitly select the window every time I open a new file, I mostly work in split view and switch around files using nvim-tree :/

Describe the solution you'd like

I would like to have a setting that allows using nvim-tree such that when opening a file in split-view it just picks the window I visited lastly (without asking me explicitly in which window to open the file)

Additional context

I think the function that is responsible for this is this one:

local function pick_win_id()

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