mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
wip: map key combos to custom text strings (including escapes)
With this, it is now possible to map key combos to custom escapes. The new bindings are defined in a new section, “text-bindings”, on the form “string=key combo”. The string can consist of printable characters, or \xNN style hex digits: [text-bindings] abcd = Control+a \x1b[A = Control+b Control+c Control+d # map ctrl+b/c/d to UP
This commit is contained in:
parent
8fa16f616c
commit
422d94fb46
5 changed files with 132 additions and 4 deletions
3
foot.ini
3
foot.ini
|
|
@ -178,4 +178,7 @@
|
|||
# select-word-whitespace=Control+BTN_LEFT-2
|
||||
# select-row=BTN_LEFT-3
|
||||
|
||||
[text-bindings]
|
||||
# \x01=Mod4+a # Map Super+a -> Ctrl+a
|
||||
|
||||
# vim: ft=conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue