diff options
author | noa@gaiwan.org | 2024-06-23 12:36:32 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-23 12:36:32 +0000 |
commit | ae7b2500bd52954257d521ac796feb08c99df2c2 (patch) | |
tree | c1c39498cb1ef8ad845c8005d771690bc18beff0 /config.org | |
parent | ad4b2885184b8c39c26cc76baeb2f980250adb6f (diff) |
Update consult configuration
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config.org b/config.org index 55bed73..386b6a8 100644 --- a/config.org +++ b/config.org @@ -429,13 +429,15 @@ I mentioned that i thought this wasn't the best default behaviour [[https://gith Consult is a package to provide navigation commands that take advantage of completing-read. I set up a nice completing-read environment earlier with vertico. There are a lot of commands built in to consult, and it's possible to define more. But i use it very simply. #+begin_src elisp -(use-package consult :ensure t) + (package-ensure '(consult + :url "https://github.com/minad/consult.git")) #+end_src Consult buffer can be used instead of the default buffer menu. It lists recently used files and bookmarks as well as open buffers. #+begin_src elisp -(global-set-key [remap switch-to-buffer] #'consult-buffer) + (autoload #'consult-buffer "consult" nil t) + (global-set-key [remap switch-to-buffer] #'consult-buffer) #+end_src These are some other almost default functions but with extra interactivity. |