Function Key
Set Alias Fkey keynumber To aliasdefinition
You can also assign an alias definition to a function key. Let’s say you want the F1 key to perform a series of commands, simply enter
/Set Alias Fkey 1 to "showme"
The function key number can only have a value of 1 through 8. The function key aliases only work in Line mode. In full-screen mode, they are redefined to the standard Visual meanings.
You can define function keys by specifying the escape sequence they transmit. For example, the F1 key sends ESC+P. Thus you could use
/Set Decimal On /Set Alias '27"p" To "showme" {'27 is the ASCII code}