justbur / emacs-which-key

Emacs package that displays available keybindings in popup
GNU General Public License v3.0
1.73k stars 87 forks source link

Customize which-key-C-h-dispatch prompt #350

Closed antrmn closed 1 year ago

antrmn commented 1 year ago

It is possible to customize the which-key-C-h-map in order to add custom commands to issue after <prefix> C-h is called. However, those new keybindings can not be displayed in the echo area since the prompt is hardcoded to show the next-page, previous-page, undo-key, toggle-docstrings, help, abort and digit-arg commands.

It would be nice to be able to customize this prompt.

justbur commented 1 year ago

Sure, see df6b0cb