diff options
-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. |