Problem: The info popup shown beside the insert-mode and command-line
completion menu can only be scrolled with the mouse wheel, so
the part below the visible area is unreachable when working
from the keyboard.
Solution: While the completion menu is shown, scroll the info popup with
CTRL-SHIFT-Up/Down (one line), CTRL-SHIFT-PageUp/PageDown (one
page) and CTRL-SHIFT-N/CTRL-SHIFT-P (one line). The menu stays
open and the selected item does not change.
fixes: #20441
Note: behavior change
While the completion menu is shown, CTRL-SHIFT-<Up>/<Down>/<PageUp>/<PageDown>
and CTRL-SHIFT-N/P previously navigated the menu (the modifier SHIFT was ignored).
This patch repurposes them, in both Insert and Command-line completion, to
scroll the info popup instead. The plain keys still navigate the menu, and
these CTRL-SHIFT variants only duplicated that navigation before. This is a
behavior change, but we believe it is not a problem.
https://github.com/vim/vim/pull/20444
(9 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
While the completion menu is shown, CTRL-SHIFT-///
and CTRL-SHIFT-N/P previously navigated the menu (the modifier SHIFT was ignored).
This patch repurposes them, in both Insert and Command-line completion, to
scroll the info popup instead. The plain keys still navigate the menu, and
these CTRL-SHIFT variants only duplicated that navigation before. This is a
behavior change, but we believe it is not a problem.
I am a little worried of using those keys as I think those are not generally available in a plain old terminal (e.g. linux console). We could use Ctrl-F/Ctrl-B for pagewise down/up scrolling, unfortunately Ctrl-E/Y are already taken otherwise I'd suggest those for linewise scrolling. incsearch uses Ctrl-G/Ctrl-T to move down/up so perhaps we can use those for completion mode linewise scrolling?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()