Added keybindings for commands that show keymaps
A new prefix has been added to help-map. That prefix provides access to various commands that show keybindings/keymaps.
This commit is contained in:
parent
a55b5a4514
commit
f5310fd088
1 changed files with 13 additions and 0 deletions
|
@ -301,6 +301,16 @@
|
||||||
"rf" #'doom/reload-font
|
"rf" #'doom/reload-font
|
||||||
"re" #'doom/reload-env
|
"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
|
;; replaces `apropos-documentation' b/c `apropos' covers this
|
||||||
"d" nil
|
"d" nil
|
||||||
"d/" #'doom/help-search
|
"d/" #'doom/help-search
|
||||||
|
@ -347,6 +357,9 @@
|
||||||
which-key-replacement-alist)
|
which-key-replacement-alist)
|
||||||
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|C-h\\|%s h\\) r\\'" prefix-re))
|
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|C-h\\|%s h\\) r\\'" prefix-re))
|
||||||
nil . "reload")
|
nil . "reload")
|
||||||
|
which-key-replacement-alist)
|
||||||
|
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|C-h\\|%s h\\) b\\'" prefix-re))
|
||||||
|
nil . "bindings")
|
||||||
which-key-replacement-alist)))
|
which-key-replacement-alist)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue