diff --git a/modules/config/default/config.el b/modules/config/default/config.el index f3387331004..09bb3127ca9 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -301,6 +301,16 @@ "rf" #'doom/reload-font "re" #'doom/reload-env + ;; make `describe-bindings' available under the b prefix which it previously + ;; occupied. Add more binding related commands under that prefix as well + "b" nil + "bb" #'describe-bindings + "bi" #'which-key-show-minor-mode-keymap + "bm" #'which-key-show-major-mode + "bt" #'which-key-show-top-level + "bf" #'which-key-show-full-keymap + "bk" #'which-key-show-keymap + ;; replaces `apropos-documentation' b/c `apropos' covers this "d" nil "d/" #'doom/help-search @@ -349,6 +359,9 @@ which-key-replacement-alist) (cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|C-h\\|%s h\\) r\\'" prefix-re)) nil . "reload") + which-key-replacement-alist) + (cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|C-h\\|%s h\\) b\\'" prefix-re)) + nil . "bindings") which-key-replacement-alist)))