diff --git a/config.org b/config.org index 5b83480..f63bf08 100644 --- a/config.org +++ b/config.org @@ -616,6 +616,17 @@ Uses default features of emacs instead of bringing a new framework in like helm (("C-x C-r" . consult-recent-file) ("C-x b" . consult-buffer) ("C-s" . consult-line)) + :config + ;; disable preview for some commands and buffers + ;; and enable it by M-. + ;; see https://github.com/minad/consult#use-package-example + (consult-customize + consult-theme + :preview-key '(debounce 0.2 any) + consult-ripgrep consult-git-grep consult-grep + consult-bookmark consult-recent-file consult-xref + consult--source-file consult--source-project-file consult--source-bookmark + :preview-key (kbd "M-.")) ) ;; shows descriptions in M-x