[keys] which-key desc also on C-h d and C-h r

This commit is contained in:
Clement Busschaert 2019-11-01 12:21:07 +01:00
parent ae26ff3282
commit db59ec823e
No known key found for this signature in database
GPG key ID: 5FD5C5C840B9DB58

View file

@ -342,10 +342,10 @@
(after! which-key (after! which-key
(let ((prefix-re (regexp-opt (list doom-leader-key doom-leader-alt-key)))) (let ((prefix-re (regexp-opt (list doom-leader-key doom-leader-alt-key))))
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|%s h\\) d\\'" prefix-re)) (cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|C-h\\|%s h\\) d\\'" prefix-re))
nil . "doom") nil . "doom")
which-key-replacement-alist) which-key-replacement-alist)
(cl-pushnew `((,(format "\\`\\(?:<\\(?:\\(?:f1\\|help\\)>\\)\\|%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))) which-key-replacement-alist)))