Skip to content

Feat/enable preview with key #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

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.

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