Changing Key Mappings
The last section in the configuration file controls mapping keyboard keys to symbols and commands. The section begins with a line reading :keymap and ends with a line reading :end_keymap. Each line between these two is an entry representing a specific key mapping. The format for entries in this section is:
keyname [cmd | text]
where keyname can be the following terminal keys:
• any letter from a through z, or from A through Z (that is, g is the name for the G key, and G is the name for the SHIFT+G key sequence)
• any punctuation character on the keyboard
• any digit 0 through 9
keyname can also be preceded by the prefixes CTRL+ and ALT+, where ALT designates either of the keys to the right and left of the space bar on most keyboards, or by a combination of the two: CTRL+ALT.
By choosing cmd or text you specify whether the function you are mapping is a command or an instruction to insert text, such as a construct or symbol.
Function is the name of the command to be executed or the SGML code for the text to be inserted.