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,or1in each character position with the following meanings:
Xdon't care which state the modifier is in 0modifier must not be pressed 1modifier must be pressed The 11 modifier keys are (in order):
Caps_LockShiftControlAlt on Windows Mod 0system dependent modifiers Mod 1Mod 2Mod 3Mod 4Mod 5Mod 6Mod 7is a Tcl script to run when the key is pressed.
None
binding the combination Alt-F5 to beep:
bindkey F5 00100000000 {beep}