Ensure which-key loads at startup
This commit is contained in:
parent
c49377a82d
commit
663bd1e36f
@ -11,8 +11,7 @@
|
||||
:prefix-map 'leader-map))
|
||||
|
||||
(use-package which-key
|
||||
:config
|
||||
(which-key-mode))
|
||||
:hook (after-init . which-key-mode))
|
||||
|
||||
(leader-def-key "SPC" #'execute-extended-command)
|
||||
|
||||
|
@ -32,8 +32,10 @@
|
||||
"C-r" #'winner-redo)
|
||||
|
||||
;; Condense the which-key display for window selection bindings
|
||||
(push '(("\\(.*\\) 0" . "select-window-0") . ("\\1 0..9" . "window 0..9"))
|
||||
which-key-replacement-alist)
|
||||
(push '((nil . "select-window-[1-9]") . t) which-key-replacement-alist)
|
||||
(with-eval-after-load 'which-key
|
||||
(push '(("\\(.*\\) 0" . "select-window-0") . ("\\1 0..9" . "window 0..9"))
|
||||
which-key-replacement-alist)
|
||||
(push '((nil . "select-window-[1-9]") . t) which-key-replacement-alist))
|
||||
|
||||
|
||||
(provide 'init-windows)
|
||||
|
Loading…
Reference in New Issue
Block a user