From 0209cf16c57d9c9807911a2fd1f0a58d316bac09 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 7 May 2024 11:12:22 -0400 Subject: [PATCH] Make which-key more useful --- emacs/.emacs.d/config/init-keybindings.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-keybindings.el b/emacs/.emacs.d/config/init-keybindings.el index b22f5cb..3fca96c 100644 --- a/emacs/.emacs.d/config/init-keybindings.el +++ b/emacs/.emacs.d/config/init-keybindings.el @@ -11,7 +11,12 @@ :prefix-map 'leader-map)) (use-package which-key - :hook (after-init . (lambda () (which-key-mode 1)))) + :hook (after-init . (lambda () (which-key-mode 1))) + :custom + (which-key-show-operator-state-maps t) + :general + (leader-map "," #'which-key-show-major-mode) + (leader-map "\\" #'which-key-show-top-level)) (leader-def-key "SPC" #'execute-extended-command)