branch: externals/consult
commit 00a58f5fba2f3b0179db7237cfd2688fddd2eb21
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    README: Update recommended preview configuration
---
 README.org | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.org b/README.org
index 386390f96a..93df855b59 100644
--- a/README.org
+++ b/README.org
@@ -439,9 +439,9 @@ to be considered.
    consult-bookmark consult-recent-file consult-xref
    consult--source-bookmark consult--source-file-register
    consult--source-recent-file consult--source-project-recent-file
-   ;; my/command-wrapping-consult       ;; disable auto previews inside my 
command
-   ;; :preview-key '(:debounce 0.2 any) ;; Option 1: Delay preview
-   :preview-key (kbd "M-."))            ;; Option 2: Manual preview
+   ;; my/command-wrapping-consult    ;; disable auto previews inside my command
+   :preview-key '(:debounce 0.2 any) ;; Option 1: Delay preview
+   ;; :preview-key (kbd "M-."))      ;; Option 2: Manual preview
 #+end_src
 
 In this case one may wonder what the difference is between using an Embark
@@ -841,13 +841,13 @@ configuration examples.
     ;; 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.2 any)
+     consult-theme :preview-key '(:debounce 0.2 any)
      consult-ripgrep consult-git-grep consult-grep
      consult-bookmark consult-recent-file consult-xref
      consult--source-bookmark consult--source-file-register
      consult--source-recent-file consult--source-project-recent-file
-     :preview-key (kbd "M-."))
+     ;; :preview-key (kbd "M-.")
+     :preview-key '(:debounce 0.4 any))
 
     ;; Optionally configure the narrowing key.
     ;; Both < and C-+ work reasonably well.

Reply via email to