On 2026-03-20, jazztickets wrote:
> I'm using ctrl+PageUp/ctrl+PageDown to switch between tabs but after upgrading
> to vim 9.2.0204 in Arch Linux, ctrl+PageUp no longer goes to the previous tab.
> Instead it's sending ctrl+e and scrolling one line down. Tested with
> xfce4-terminal and gnome's terminal. Do I need to change something in the
> terminal?

I can verify this on Ubuntu 24.04.4.  I did a git bisect and found
the difference (bug?) to have been introduced at patch 9.2.0192.
This behavior is not affected by "k" in 'cpoptions'.  I haven't
looked into it further.

--------------------------------------------------------------------
c4d212257d61f5c2a9cd919486288c747aaaa05d is the first bad commit
commit c4d212257d61f5c2a9cd919486288c747aaaa05d
Author: AstroSnail <[email protected]>
Date:   Tue Mar 17 21:24:43 2026 +0000

    patch 9.2.0192: not correctly recognizing raw key codes
    
    Problem:  When "k" is excluded from cpoptions, vim should be able to
              recognize raw key codes in mappings and replace them with
              builtin codes (e.g. ^[OA is replaced with <Up>) so that
              changing the builtin code also changes the mapping to match.
              Currently, this only works properly if the builtin code does
              not contain modifiers (e.g. @;*).
    Solution: Teach find_term_bykeys how to recognize keys with modifiers
              (AstroSnail).
    
    fixes:  #19182
    closes: #19643
    
    Signed-off-by: AstroSnail <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

 src/term.c                     | 93 +++++++++++++++++++++++++++++++++++++-----
 src/testdir/test_termcodes.vim | 20 +++++++++
 src/version.c                  |  2 +
 3 files changed, 104 insertions(+), 11 deletions(-)
--------------------------------------------------------------------

Regards,
Gary

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/20260320194659.GE10946%40phoenix.

Reply via email to