kyazdani42 / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Discussion] How to open file in last active window?

dzintars opened this issue · comments

Sometimes i need to compare multiple files which are open in several windows.
How can i select the window and open file in that specific window?
I believe this was somehow handled in NerdTree by remembering last active window.
In nTree every vsplit or hsplit creates new split which is fine.
But Enter or mouse click always uses top left window to open file.
I would like to control this behavior somehow.

did you find the behavior ? it's implemented through the window picker

ezoic increase your site revenue