diff options
Diffstat (limited to 'shoshin-config.org')
-rw-r--r-- | shoshin-config.org | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/shoshin-config.org b/shoshin-config.org index 72c22d2..286bf5b 100644 --- a/shoshin-config.org +++ b/shoshin-config.org @@ -198,13 +198,20 @@ built in completing read functionality of the minibuffer. #+begin_src emacs-lisp (package-install 'consult) +#+end_src + +main entry point would be ~consult-buffer~. however, there are many consult +commands that can enhance any completing read function. + +*** consult keybindings + +#+begin_src emacs-lisp + (global-set-key (kbd "C-x b") #'consult-buffer) (define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) (define-key xah-fly-command-map (kbd "n") #'consult-line) #+end_src -main entry point would be ~consult-buffer~. however, there are many consult -commands that can enhance any completing read function. ~consult-themes~ for -example. +*** note about ~consult-themes~ i had a bit of a mess with it at first, because i'd implemented my own solution to a quirk of theme loading. enabling themes is additive, @@ -213,12 +220,6 @@ to ~load-theme~ to automatically disable the old one before enabling the new. it seems like consult does this as well as switching themes /as you narrow your selection/. -*** consult keybindings -#+begin_src emacs-lisp - (global-set-key (kbd "C-x b") #'consult-buffer) - (define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) - (define-key xah-fly-command-map (kbd "n") #'consult-line) -#+end_src ** corfu |