[vim/vim] completion info popup cannot be scrolled with the keyboard (PR #20444)

6 views
Skip to first unread message

h_east

unread,
Jun 7, 2026, 4:31:39 PM (2 days ago) Jun 7
to vim/vim, Subscribed
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.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20444

Commit Summary

  • dbe5fa8 completion info popup cannot be scrolled with the keyboard

File Changes

(9 files)

Patch Links:


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.Message ID: <vim/vim/pull/20444@github.com>

Christian Brabandt

unread,
Jun 8, 2026, 4:36:31 PM (8 hours ago) Jun 8
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20444)

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.Message ID: <vim/vim/pull/20444/c4653294659@github.com>

Reply all
Reply to author
Forward
0 new messages