File: which-key.el.html
The which-key mode displays the key bindings following your
currently entered incomplete command (a prefix) in a popup. For
example, after enabling the minor mode if you enter C-x and wait for
the default of 1 second the minibuffer will expand with all of the
available key bindings that follow C-x (or as many as space allows
given your settings).
This includes prefixes like C-x 8 which are shown in a different face.
Defined variables (72)
which-key--automatic-display | Non-nil if popup was triggered with automatic update. |
which-key--buffer | Holds reference to which-key buffer. |
which-key--debug-buffer-name | If non-nil, use this buffer for debug messages. |
which-key--echo-keystrokes-backup | Backup the initial value of ‘echo-keystrokes’. |
which-key--frame | Holds reference to which-key frame. |
which-key--god-mode-key-string | String to use for god-mode support. |
which-key--god-mode-support-enabled | Support god-mode if non-nil. |
which-key--last-try-2-loc | Last location of side-window when two locations used. |
which-key--paging-timer | Holds reference to timer for paging. |
which-key--prefix-help-cmd-backup | Backup the value of ‘prefix-help-command’. |
which-key--secondary-timer-active | Non-nil if the secondary timer is active. |
which-key--timer | Holds reference to open window timer. |
which-key-C-h-map | Keymap for C-h commands. |
which-key-C-h-map-prompt | Prompt to display when invoking ‘which-key-C-h-map’. |
which-key-add-column-padding | Additional spaces to add to the left of each key column. |
which-key-allow-evil-operators | Allow popup to show for evil operators. |
which-key-allow-imprecise-window-fit | Allow which-key to use a simpler method for resizing the popup. |
which-key-allow-multiple-replacements | Allow a key binding to be modified by multiple elements. |
which-key-allow-regexps | A list of regexp strings to use to filter key sequences. |
which-key-buffer-name | Name of which-key buffer. |
which-key-compute-remaps | If non-nil, show remapped commands. |
which-key-custom-hide-popup-function | Set a custom hide-popup function. |
which-key-custom-popup-max-dimensions-function | Set a custom max-dimensions function. |
which-key-custom-show-popup-function | Set a custom show-popup function. |
which-key-delay-functions | List of functions that may delay the which-key popup. |
which-key-dont-use-unicode | If non-nil, don’t use any unicode characters in default setup. |
which-key-echo-keystrokes | Value to use for ‘echo-keystrokes’. |
which-key-ellipsis | Ellipsis to use when truncating. |
which-key-extra-keymaps | List of extra keymaps to show entries from. |
which-key-frame-max-height | Maximum height of which-key popup when type is frame. |
which-key-frame-max-width | Maximum width of which-key popup when type is frame. |
which-key-hide-alt-key-translations | Hide key translations using Alt key if non nil. |
which-key-highlighted-command-list | Rules used to highlight certain commands. |
which-key-idle-delay | Delay (in seconds) for which-key buffer to popup. |
which-key-idle-secondary-delay | Seconds to wait for which-key to pop up after initial display. |
which-key-inhibit | Prevent which-key from popping up momentarily. |
which-key-inhibit-display-hook | Hook run before display of which-key popup. |
which-key-inhibit-regexps | A list of regexp strings to use to filter key sequences. |
which-key-init-buffer-hook | Hook run when which-key buffer is initialized. |
which-key-keymap-history | History of keymap selections. |
which-key-lighter | Minor mode lighter to use in the mode-line. |
which-key-max-description-length | Truncate the description of keys to this length. |
which-key-max-display-columns | Maximum number of columns to display in the which-key buffer. |
which-key-min-column-description-width | Every column should at least have this width. |
which-key-min-display-lines | Minimum number of horizontal lines to display in the which-key buffer. |
which-key-mode | Non-nil if Which-Key mode is enabled. |
which-key-mode-hook | Hook run after entering or leaving ‘which-key-mode’. |
which-key-mode-map | Keymap for ‘which-key-mode’. |
which-key-paging-key | Key to use for changing pages. |
which-key-paging-prefixes | Enable paging for these prefixes. |
which-key-persistent-popup | Whether or not to disable ‘which-key--hide-popup’. |
which-key-popup-type | Supported types are minibuffer, side-window, frame, and custom. |
which-key-prefix-prefix | Prefix string to indicate a key bound to a keymap. |
which-key-preserve-window-configuration | Save and restore window configuration around which-key popup display. |
which-key-replacement-alist | ALIST for manipulating display of binding descriptions. |
which-key-separator | Separator to use between key and description. |
which-key-show-docstrings | If non-nil, show each command’s docstring in the which-key popup. |
which-key-show-early-on-C-h | Allow C-h (‘help-char’) to trigger which-key popup before timer. |
which-key-show-operator-state-maps | Show the keys following an evil command that reads a motion. |
which-key-show-prefix | Whether to and where to display the current prefix sequence. |
which-key-show-remaining-keys | Show remaining keys in last slot, when keys are hidden. |
which-key-show-transient-maps | Show keymaps created by ‘set-transient-map’ when applicable. |
which-key-side-window-location | Location of which-key popup when ‘which-key-popup-type’ is side-window. |
which-key-side-window-max-height | Maximum height of which-key popup when type is side-window. |
which-key-side-window-max-width | Maximum width of which-key popup when type is side-window. |
which-key-side-window-slot | The ‘slot’ to use for ‘display-buffer-in-side-window’. |
which-key-sort-order | Order in which the key bindings are sorted. |
which-key-sort-uppercase-first | If non-nil, uppercase comes before lowercase in sorting. |
which-key-special-keys | Keys which will be truncated to their first character. |
which-key-this-command-keys-function | Function used to retrieve current key sequence. |
which-key-unicode-correction | Correction for wide unicode characters. |
which-key-use-C-h-commands | Use C-h (‘help-char’) for paging if non-nil. |
Defined functions (149)
Defined faces (8)
which-key-command-description-face | Face for the key description when it is a command. |
which-key-docstring-face | Face for docstrings. |
which-key-group-description-face | Face for the key description when it is a group or prefix. |
which-key-highlighted-command-face | Default face for highlighted command descriptions. A command is highlighted, when it matches a string in ‘which-key-highlighted-command-list’. |
which-key-local-map-description-face | Face for the key description when it is found in ‘current-local-map’. |
which-key-note-face | Face for notes or hints occasionally provided. |
which-key-separator-face | Face for the separator (default separator is an arrow). |
which-key-special-key-face | Face for special keys (SPC, TAB, RET). |