mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
use-package which-key
This commit is contained in:
parent
3ea536aea7
commit
7c5b2ff52a
19
init.org
19
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
|
||||
|
Loading…
Reference in New Issue
Block a user