diff options
author | shoshin <shoshin@cicadas.surf> | 2022-06-29 21:04:10 -0500 |
---|---|---|
committer | shoshin <shoshin@cicadas.surf> | 2022-06-29 21:04:10 -0500 |
commit | 8f727c7b3a3c8664d47598c61641930e8c3d6221 (patch) | |
tree | d849f68b34512962753dc9e5b8f88f4035e384c9 /shoshin-config.org | |
parent | 28243bbdad99743c829091c972069471c70fc34c (diff) |
Clean: some of the consult config & keybinds
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 |