Skip to content
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

Add option for jumping into the hover floating window on the first press. #1515

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LarssonMartin1998
Copy link
Contributor

I get annoyed that it takes so many key presses to close the hover window. Either I have to move my cursor which I don't want to do most times, resulting in me just moving it back. Or, I have to press my keybind to jump into the window again and then q to close it.

This is an option which just moves the cursor directly into the window when you open it, this way you can close it using q directly.

At first I thought about letting q close the window without jumping into it and let that be the option. However, then it can't use a buffer specific keybinding, I think this is the better choice. However, I'm open for suggestions, this at least fixes my issue.

not affect anyone who doesn't explicitly set it. If true, jump into the
hover_doc buffer on first press.
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