Skip to content

Instantly share code, notes, and snippets.

View wroyca's full-sized avatar
💭
I may be slow to respond.

William Roy wroyca

💭
I may be slow to respond.
View GitHub Profile
@wroyca
wroyca / which-key-prefix-descriptions.el
Created May 3, 2025 23:39 — forked from mmarshall540/which-key-prefix-descriptions.el
Missing Which-key Prefix descriptions
;; By default, Which-key doesn't give much help for prefix-keys. It
;; either shows the generic description, "+prefix", or the name of a
;; prefix-command, which usually isn't as descriptive as we'd like.
;;
;; Here are some descriptions for the default bindings in `global-map'
;; and `org-mode-map'.
(which-key-add-key-based-replacements
"<f1> 4" "help-other-win"
"<f1>" "help"