From db59ec823ee186bd7a04deacff0af472b15a520c Mon Sep 17 00:00:00 2001 From: Clement Busschaert Date: Fri, 1 Nov 2019 12:21:07 +0100 Subject: [PATCH] [keys] which-key desc also on `C-h d` and `C-h r` --- modules/config/default/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 027a8f6d7..49f68c592 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -342,10 +342,10 @@ (after! which-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") 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") which-key-replacement-alist)))