Creating your own keyboard shortcuts |
Keymaps are specified using the command
(kbd-map . keymaps)
Optionally, you may specify conditions which must be satisfied for the keymap to be valid using the :mode option. For instance, the command
(kbd-map (:mode in-math?) . keymaps)
specifies a list of keyboard shortcuts which will only be valid in math-mode. Each item in keymaps is of one of the following forms:
(key-combination action_1 ... action_n)
(key-combination result)
(key-combination result help-message)
In the first case, the action_i are