Disable consult preview for expensive things

This commit is contained in:
2025-03-28 15:33:36 -07:00
parent bcb4bf65ae
commit 194fab042c

View File

@@ -344,12 +344,14 @@
;; For some commands and buffer sources it is useful to configure the
;; :preview-key on a per-command basis using the `consult-customize' macro.
(consult-customize
consult-theme
:preview-key '(:debounce 0.5 any)
consult-theme consult-xref consult-bookmark
consult-ripgrep consult-git-grep consult-grep
consult-bookmark consult-recent-file consult-xref
:preview-key '(:debounce 0.4 any)
consult-recent-file consult-buffer
consult--source-bookmark consult--source-recent-file
consult--source-project-recent-file))
consult--source-project-recent-file
:preview-key "C-."))
(use-package consult-dir
:ensure t