KeyBinding

Type: String

A string expressing a key binding. Some examples of key bindings are:

  • Single key: a

  • Combo: ctrl+a

  • Alternatives: ctrl+a/alt+a

  • Ranges: ctrl+[a-f]

Note that alternatives are split on the slash ('/') and each part is considered as an individual key binding.

The available keys are:

  • Character keys ( a thru z, supports ranges)

  • Number keys ( 0 thru 9, supports ranges)

  • Numpad number keys ( 0 thru 9, supports ranges)

  • Function keys ( f1 thru f25, supports ranges)

  • Shift ( shift, )

  • Control ( ctrl, )

  • Alt ( alt, option, )

  • Meta ( cmd, meta, super, win, )

  • Backspace ( backspace, )

  • Tab ( tab, , )

  • Return ( enter, return, , )

  • Pause/Break ( pause, pause-break)

  • Caps Lock ( caps, caps-lock, )

  • Escape ( esc, escape, )

  • Space ( space)

  • Page-Up ( pgup, page-up, )

  • Page-Down ( pgdown, page-down, )

  • End ( end, )

  • Home ( home, )

  • Insert ( ins, insert)

  • Delete ( del, delete)

  • Left Arrow ( arrow-left, left, )

  • Up Arrow ( arrow-up, up, )

  • Right Arrow ( arrow-right, right, )

  • Down Arrow ( arrow-down, down, )

  • Numpad multiply ( asterisk, multiply, star, *)

  • Numpad plus ( plus, +)

  • Subtract ( subtract, -)

  • Semicolon ( semicolon, ;)

  • Equals ( equals, =)

  • Comma ( comma, ,)

  • Period ( full-stop, period, .)

  • Slash ( forward-slash, slash, /)

  • Tick ( back-quote, tick, ` )

  • Open bracket ( open-bracket, [)

  • Back slash ( back-slash, \)

  • Close backet ( close-bracket, ])

  • Apostrophe ( apostrophe, quote, ')

Was this page helpful?