use-package which-key

This commit is contained in:
larstvei 2023-06-13 03:05:27 +02:00
parent 3ea536aea7
commit 7c5b2ff52a

View File

@ -207,8 +207,7 @@
(let* ((package--builtins nil) (let* ((package--builtins nil)
(packages (packages
'(which-key ; Display available keybindings in popup '(z3-mode))) ; z3/SMTLIBv2 interactive development
z3-mode))) ; z3/SMTLIBv2 interactive development
(when (memq window-system '(mac ns)) (when (memq window-system '(mac ns))
(push 'exec-path-from-shell packages) (push 'exec-path-from-shell packages)
(push 'reveal-in-osx-finder packages)) (push 'reveal-in-osx-finder packages))
@ -385,8 +384,7 @@
dirtrack-mode ; directory tracking in *shell* dirtrack-mode ; directory tracking in *shell*
global-so-long-mode ; Mitigate performance for long lines global-so-long-mode ; Mitigate performance for long lines
recentf-mode ; Recently opened files recentf-mode ; Recently opened files
show-paren-mode ; Highlight matching parentheses show-paren-mode)) ; Highlight matching parentheses
which-key-mode)) ; Available keybindings in popup
(funcall mode 1)) (funcall mode 1))
#+end_src #+end_src
@ -1790,6 +1788,19 @@
#+end_src #+end_src
** Which key
[[https://github.com/justbur/emacs-which-key][Which key]] is nice for discoverability.
#+begin_src emacs-lisp
;; Display available keybindings in popup
(use-package which-key
:config
(which-key-mode 1))
#+end_src
** Bindings for [[https://github.com/magnars/multiple-cursors.el][multiple-cursors]] ** Bindings for [[https://github.com/magnars/multiple-cursors.el][multiple-cursors]]
#+begin_src emacs-lisp #+begin_src emacs-lisp