From 3d704dee780dd735de48697f911f4034d5646c8c Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 2 Nov 2021 08:56:48 +0100 Subject: [PATCH] disabled live preview for some consult stuff --- config.org | 11 +++++++++++ 1 file changed, 11 insertions(+) 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