Move leader which-key labels to core-keybinds

This commit is contained in:
Henrik Lissner 2019-04-26 17:29:20 -04:00
parent ba94ab09d3
commit a03b676297
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395
2 changed files with 4 additions and 3 deletions

View File

@ -197,6 +197,10 @@ localleader prefix."
(set-face-attribute 'which-key-local-map-description-face nil :weight 'bold)
(which-key-setup-side-window-bottom)
(setq-hook! 'which-key-init-buffer-hook line-spacing 3)
(which-key-add-key-based-replacements doom-leader-key "<leader>")
(which-key-add-key-based-replacements doom-localleader-key "<localleader>")
(which-key-mode +1))

View File

@ -242,9 +242,6 @@
"P" #'find-library)
(after! which-key
(which-key-add-key-based-replacements doom-leader-key "<leader>")
(which-key-add-key-based-replacements doom-localleader-key "<localleader>")
(which-key-add-key-based-replacements "C-h r" "reload")
(when (featurep 'evil)
(which-key-add-key-based-replacements (concat doom-leader-key " r") "reload")