fix #10490
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run

This commit is contained in:
Kovid Goyal 2026-09-17 14:22:59 +05:30
parent 295d266ad6
commit 701f40b5c8
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
5 changed files with 17 additions and 1 deletions

View file

@ -344,6 +344,10 @@ Detailed list of changes
- :doc:`Multiple cursors protocol </multiple-cursors-protocol>`: Fix hiding the
main cursor with DECTCEM also hiding the extra cursors (:iss:`10489`)
- Add a new ``passthrough_and_end`` value for the ``--on-unknown`` option of
``map``, that passes the unknown key through to the program and also exits
the custom keyboard mode (:iss:`10490`)
0.48.2 [2026-07-30]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -415,6 +415,8 @@ below::
map --new-mode XXX --on-unknown end ...
# Pass unknown keys to the program running in the active window
map --new-mode XXX --on-unknown passthrough ...
# Pass unknown keys to the program and exit the keyboard mode
map --new-mode XXX --on-unknown passthrough_and_end ...
When a key matches an action in a custom keyboard mode, the action is performed
and the custom keyboard mode remains in effect. If you would rather have the