Closed mhlr closed 9 months ago
For consult-find
and consult-fd
you can set the :state
argument as follows:
(consult-customize consult-find consult-fd :state (consult--file-preview))
For consult-dir
set the :state
field to consult--file-state
and set the :action
field to nil, but I haven't tried this.
Is there a way to enable preview for consult-file and/or consult-dir? I have previews working for other functions like consult-grep, but not for consult-file and consult-dir. It would be great to see the beginning of a file when looking among similarly name files.