[vim/vim] Prevent overwriting editing keys with keypad keys (PR #19181)

3 views
Skip to first unread message

erry

unread,
Jan 14, 2026, 10:31:06 PM (2 days ago) Jan 14
to vim/vim, Subscribed

Suggested fix for #17331, alternative to #19145. In principle there is no conflict with the other fix.

The test fails because <PageUp> and <PageDown> are still not fixed. Fixing those requires improving find_term_bykeys to recognize that ^[[5;*~ is a match for ^[[5~. If the maintainers are interested I can try doing such an improvement and un-drafting this PR.

An advantage of this fix over #19145 is that it doesn't rely on the builtin <xHome>. Instead, vim will associate the correct termcode with <Home>.


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

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

Commit Summary

  • 6a0d535 Prevent overwriting editing keys with keypad keys

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19181@github.com>

Reply all
Reply to author
Forward
0 new messages