Skip to content

Commit

Permalink
Tune which-key invocation, usage, and display order
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaathalye committed Aug 3, 2024
1 parent 8e23d12 commit e082a59
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,17 @@ and for auto-saves we can restore from.")

(use-package which-key
:config (which-key-mode t)
(setq which-key-idle-delay 0.5)
;; Sort based on the key description ignoring case (default
;; is 'which-key-key-order).
(setq which-key-sort-order 'which-key-description-order)
(setq
;; Use C-h to manually activate which-key. This way, we can use
;; which-key only when needed.
;;
;; cf. https://github.com/justbur/emacs-which-key?tab=readme-ov-file#manual-activation
which-key-show-early-on-C-h t
which-key-idle-delay 10000
which-key-idle-secondary-delay 0.01
;; Sort based on the key description ignoring case (default
;; is 'which-key-key-order).
which-key-sort-order 'which-key-description-order)
:blackout)

(use-package ace-window
Expand Down

0 comments on commit e082a59

Please sign in to comment.