tuimark

Key tokens

The key names a Tuimark keymap accepts in keys="…".

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

TokenKey
enterEnter / Return
escEscape
tabTab
backspaceBackspace
spaceSpace bar
deleteDelete (forward delete)
upArrow up
downArrow down
leftArrow left
rightArrow right
homeHome
endEnd
pgupPage up
pgdnPage down
f1Function key F1
f2Function key F2
f3Function key F3
f4Function key F4
f5Function key F5
f6Function key F6
f7Function key F7
f8Function key F8
f9Function key F9
f10Function key F10
f11Function key F11
f12Function key F12
shift+tabShift + Tab
shift+enterShift + Enter
ctrl+enterCtrl + Enter
alt+enterAlt + Enter
alt+backspaceAlt + Backspace

Other tokens

Only in a <tui> without version (V003 with (requires a <tui> without version) in a document that writes it): delete, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, shift+enter, ctrl+enter, alt+enter, alt+backspace, and alt+ a letter (a-z or A-Z) or a digit (a-z A-Z 0-9). Not tokens: alt+ a punctuation character, alt+space, shift+ a letter (write the upper-case letter), ctrl+ a named key, alt+ a named key other than enter and backspace, and anything after f12.

Also valid: ctrl+<a-z> (ctrl+i, ctrl+j, and ctrl+m arrive as tab/enter and never match: in a keymap of a <tui> without version each is V003, so write tab or enter; a document that writes version accepts them, never matching, as before; play steps accept them in every document and deliver tab/enter), and any single printable ASCII character except space (write space) and , (the keys= list separator; a token of , binds nothing).

Last updated on

On this page