parent
c25fec5364
commit
73b8a5b496
1 changed files with 7 additions and 4 deletions
|
@ -349,10 +349,13 @@
|
||||||
"P" #'find-library)
|
"P" #'find-library)
|
||||||
|
|
||||||
(after! which-key
|
(after! which-key
|
||||||
(which-key-add-key-based-replacements "C-h r" "reload")
|
(let ((prefix-re (regexp-opt (list doom-leader-key doom-leader-alt-key))))
|
||||||
(when (featurep 'evil)
|
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|%s h\\) d\\'" prefix-re))
|
||||||
(which-key-add-key-based-replacements (concat doom-leader-key " r") "reload")
|
nil . "doom")
|
||||||
(which-key-add-key-based-replacements (concat doom-leader-alt-key " r") "reload")))
|
which-key-replacement-alist)
|
||||||
|
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|%s h\\) r\\'" prefix-re))
|
||||||
|
nil . "reload")
|
||||||
|
which-key-replacement-alist)))
|
||||||
|
|
||||||
|
|
||||||
(when (featurep! +bindings)
|
(when (featurep! +bindings)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue