nvim-tree/nvim-tree.lua

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

kusnezoff-alexander opened this issue · 0 comments

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()