Skip to content

Conversation

jo-pouradier
Copy link

Since my nvim-tree is a float window i didnt want 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 . 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 jo-pouradier force-pushed the feat/enable-preview-with-key branch from 392a54c to 09d513e Compare May 7, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant