Key tokens
A <bind keys="…"> row takes one or more of these tokens, separated by commas: keys="q,ctrl+c". The same names are the steps of tuimark play --input. See Keymap, actions and focus.
Named keys
| Token | Key |
|---|---|
enter | Enter / Return |
esc | Escape |
tab | Tab |
backspace | Backspace |
space | Space bar |
up | Arrow up |
down | Arrow down |
left | Arrow left |
right | Arrow right |
home | Home |
end | End |
pgup | Page up |
pgdn | Page down |
shift+tab | Shift + Tab |
Other tokens
Also valid: ctrl+<a-z> (ctrl+i, ctrl+j, and ctrl+m arrive as tab/enter and never match), and any single printable ASCII character except space (write space) and , (the keys= list separator; a token of , binds nothing).