diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-02-06 18:36:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-02-16 22:02:07 +0000 |
| commit | 422d94fb46ad18e52f5385e416cd00cb7b4c2fc9 (patch) | |
| tree | 307b544335964de5ccc0c99843ae97f1218499b5 /foot.ini | |
| parent | main: --server: don’t exit with code 0 on failure (diff) | |
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
Diffstat (limited to 'foot.ini')
| -rw-r--r-- | foot.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
