next up previous
Next: 19.9 Status and History Up: 19. RC Files Previous: 19.7 Keyboard Bindings

19.8 Keyboard Alias

Depending on your system and personal preferences, there may be times when you wish to have more than one key sequence bound to a command. For example, by default, the routine to input a character as a 2 character hexadecimal value is bound as:

Bind HEXINPUT "Enter hex value" "ESC-Backspace"
KEY_ESC KEY_BACKSPACE

Now, you may wish for this binding to continue to work, but also have the [Esc][=] do the same thing. Easy:

Alias HEXINPUT KEY_ESC '='

Now, pressing either combination calls up the same function.

A few notes:


next up previous
Next: 19.9 Status and History Up: 19. RC Files Previous: 19.7 Keyboard Bindings
2004-05-02