From ae7b2500bd52954257d521ac796feb08c99df2c2 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 23 Jun 2024 12:36:32 +0000 Subject: Update consult configuration --- config.org | 6 ++++-- 1 file 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. -- cgit 1.4.1-2-gfad0