Skip to content

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

Closed
LarssonMartin1998 wants to merge 2 commits intonvimdev:mainfrom
LarssonMartin1998:hover_doc-jump-directly
Closed

Add option for jumping into the hover floating window on the first press.#1515
LarssonMartin1998 wants to merge 2 commits intonvimdev:mainfrom
LarssonMartin1998:hover_doc-jump-directly

Conversation

@LarssonMartin1998
Copy link

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.
@LarssonMartin1998 LarssonMartin1998 closed this by deleting the head repository Jun 8, 2025
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