From 7c5b2ff52ad1e82f3f27fbdb35e2e30d0a6208c0 Mon Sep 17 00:00:00 2001 From: larstvei Date: Tue, 13 Jun 2023 03:05:27 +0200 Subject: [PATCH] use-package which-key --- init.org | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/init.org b/init.org index 9df6bd7..1cde5cc 100644 --- a/init.org +++ b/init.org @@ -207,8 +207,7 @@ (let* ((package--builtins nil) (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)) (push 'exec-path-from-shell packages) (push 'reveal-in-osx-finder packages)) @@ -385,8 +384,7 @@ dirtrack-mode ; directory tracking in *shell* global-so-long-mode ; Mitigate performance for long lines recentf-mode ; Recently opened files - show-paren-mode ; Highlight matching parentheses - which-key-mode)) ; Available keybindings in popup + show-paren-mode)) ; Highlight matching parentheses (funcall mode 1)) #+end_src @@ -1790,6 +1788,19 @@ #+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]] #+begin_src emacs-lisp