mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-07 17:43:53 +02:00
Show how to combine multiple key presses in the FAQ
This commit is contained in:
@@ -399,9 +399,11 @@ This is accomplished by using ``map`` with :ac:`send_key` in :file:`kitty.conf`.
|
||||
For example::
|
||||
|
||||
map alt+s send_key ctrl+s
|
||||
map ctrl+alt+2 combine : send_key ctrl+c : send_key h : send_key a
|
||||
|
||||
This causes the program running in kitty to receive the :kbd:`ctrl+s` key when
|
||||
you press the :kbd:`alt+s` key. To see this in action, run::
|
||||
you press the :kbd:`alt+s` key and several keystrokes when you press
|
||||
:kbd:`ctrl+alt+2`. To see this in action, run::
|
||||
|
||||
kitten show-key -m kitty
|
||||
|
||||
|
||||
Reference in New Issue
Block a user