nvim-tree.lua-float-preview icon indicating copy to clipboard operation
nvim-tree.lua-float-preview copied to clipboard

Feat/enable preview with key

Open jo-pouradier opened this issue 10 months ago • 0 comments

Since my nvim-tree is a float window i didnt want <Tab> to make a preview in the background which I fixed. I added a user command to toggle a floating window. I can be added to any key with its initial function, like <Tab>. Plus I added a config auto_preview (default = true) to be able to de/activate the auto preview on 'CursorHold'.

refactor: I used the event 'CursorMoved' to close the previous preview window so I can close window more easily when I need to.

I tried to not make any breaking changes.

jo-pouradier avatar Feb 26 '25 12:02 jo-pouradier