In this section we list some of the more general keymaps. Many of these exist when Emacs is first started, but some are loaded only when the respective feature is accessed.
There are many other, more specialized, maps than these; in particular those associated with major and minor modes. The minibuffer uses several keymaps (see Completion Commands). For more details on keymaps, see Keymaps.
2C-mode-mapA sparse keymap for subcommands of the prefix C-x 6. See Two-Column Editing in The GNU Emacs Manual.
abbrev-mapA sparse keymap for subcommands of the prefix C-x a. See Defining Abbrevs in The GNU Emacs Manual.
button-buffer-mapA sparse keymap useful for buffers containing buffers. You may want to use this as a parent keymap. See Buttons.
button-mapA sparse keymap used by buttons.
ctl-x-4-mapA sparse keymap for subcommands of the prefix C-x 4.
ctl-x-5-mapA sparse keymap for subcommands of the prefix C-x 5.
ctl-x-mapA full keymap for C-x commands.
ctl-x-r-mapA sparse keymap for subcommands of the prefix C-x r. See Registers in The GNU Emacs Manual.
esc-mapA full keymap for ESC (or Meta) commands.
function-key-mapThe parent keymap of all local-function-key-map (q.v.) instances.
global-mapThe full keymap containing default global key bindings. Modes should not modify the Global map.
goto-mapA sparse keymap used for the M-g prefix key.
help-mapA sparse keymap for the keys following the help character C-h. See Help Functions.
Helper-help-mapA full keymap used by the help utility package. It has the same keymap in its value cell and in its function cell.
input-decode-mapThe keymap for translating keypad and function keys. If there are none, then it contains an empty sparse keymap. See Translation Keymaps.
key-translation-mapA keymap for translating keys. This one overrides ordinary key bindings, unlike local-function-key-map. See Translation Keymaps.
kmacro-keymapA sparse keymap for keys that follows the C-x C-k prefix search. See Keyboard Macros in The GNU Emacs Manual.
local-function-key-mapThe keymap for translating key sequences to preferred alternatives. If there are none, then it contains an empty sparse keymap. See Translation Keymaps.
menu-bar-file-menumenu-bar-edit-menumenu-bar-options-menuglobal-buffers-menu-mapmenu-bar-tools-menumenu-bar-help-menuThese keymaps display the main, top-level menus in the menu bar. Some of them contain sub-menus. For example, the Edit menu contains menu-bar-search-menu, etc. See Menu Bar.
minibuffer-inactive-mode-mapA full keymap used in the minibuffer when it is not active. See Editing in the Minibuffer in The GNU Emacs Manual.
mode-line-coding-system-mapmode-line-input-method-mapmode-line-column-line-number-mode-mapThese keymaps control various areas of the mode line. See Mode Line Format.
mode-specific-mapThe keymap for characters following C-c. Note, this is in the global map. This map is not actually mode-specific: its name was chosen to be informative in C-h b (display-bindings), where it describes the main use of the C-c prefix key.
mouse-appearance-menu-mapA sparse keymap used for the S-mouse-1 key.
mule-keymapThe global keymap used for the C-x RET prefix key.
narrow-mapA sparse keymap for subcommands of the prefix C-x n.
prog-mode-mapThe keymap used by Prog mode. See Basic Major Modes.
query-replace-mapmulti-query-replace-mapA sparse keymap used for responses in query-replace and related commands; also for y-or-n-p and map-y-or-n-p. The functions that use this map do not support prefix keys; they look up one event at a time. multi-query-replace-map extends query-replace-map for multi-buffer replacements. See query-replace-map.
search-mapA sparse keymap that provides global bindings for search-related commands.
special-mode-mapThe keymap used by Special mode. See Basic Major Modes.
tab-prefix-mapThe global keymap used for the C-x t prefix key for tab-bar related commands. See Tab Bars in The GNU Emacs Manual.
tab-bar-mapThe keymap defining the contents of the tab bar. See Tab Bars in The GNU Emacs Manual.
tool-bar-mapThe keymap defining the contents of the tool bar. See Tool Bar.
universal-argument-mapA sparse keymap used while processing C-u. See Prefix Command Arguments.
vc-prefix-mapThe global keymap used for the C-x v prefix key.
x-alternatives-mapA sparse keymap used to map certain keys under graphical frames. The function x-setup-function-keys uses this.
Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Keymaps.html