bindkey |
Built-in |
bindkey keyName modifiers keyFunction
Establish a binding between a keyboard key and a Tcl script.
None
None
The bindkey command will return an error in the following cases:
Invalid modifiers
Invalid modifiers (incorrect length)
Invalid key code
wrong # args: should be "bindkey keyName modifiers keyFunction"
keyName
modifierskeyName identifies the key to which e93 is to bind a command.
keyFunctionis a string of 11 characters that tell e93 which modifier keys should be in which states for this binding to take effect.
The string can containX, 0,
or1
in each character position with the following meanings:
X
don't care which state the modifier is in 0
modifier must not be pressed 1
modifier must be pressed The 11 modifier keys are (in order):
Caps_Lock
Shift
Control
Alt on Windows Mod 0
system dependent modifiers Mod 1
Mod 2
Mod 3
Mod 4
Mod 5
Mod 6
Mod 7
is a Tcl script to run when the key is pressed.
None
binding the combination Alt-F5 to beep:
bindkey F5 00100000000 {beep}