mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Fix example in FAQ
Mapping wont work in kitty keyboard mode.
This commit is contained in:
@@ -240,7 +240,7 @@ How do I map key presses in kitty to different keys in the terminal program?
|
|||||||
This is accomplished by using ``map`` with :sc:`send_text <send_text>` in :file:`kitty.conf`.
|
This is accomplished by using ``map`` with :sc:`send_text <send_text>` in :file:`kitty.conf`.
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
map alt+s send_text all \x13
|
map alt+s send_text normal,application \x13
|
||||||
|
|
||||||
This maps :kbd:`alt+s` to :kbd:`ctrl+s`. To figure out what bytes to use for
|
This maps :kbd:`alt+s` to :kbd:`ctrl+s`. To figure out what bytes to use for
|
||||||
the :sc:`send_text <send_text>` you can use the ``show_key`` kitten. Run::
|
the :sc:`send_text <send_text>` you can use the ``show_key`` kitten. Run::
|
||||||
|
|||||||
Reference in New Issue
Block a user