selectrum: deactivate slow consult previews
deactivate previews for: - consult-bookmark - consult-recentf-file
This commit is contained in:
parent
a51c03900b
commit
2cae7455fd
2 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
** TODO Functions very slow on startup:
|
** TODO Functions very slow on startup:
|
||||||
- =consult-recent-files=
|
- =consult-recent-files=
|
||||||
- =consult-bookmark=
|
- =consult-bookmark=
|
||||||
Probably due to live preview, but gets much faster on subsequent calls.
|
preview deactivated for now (see consult use-package)
|
||||||
** TODO Add vanilla keybindings
|
** TODO Add vanilla keybindings
|
||||||
*** TODO Add keybinding for embark-act
|
*** TODO Add keybinding for embark-act
|
||||||
** TODO =SPC s s= and =SPC s S= ~:sw~
|
** TODO =SPC s s= and =SPC s S= ~:sw~
|
||||||
|
|
|
@ -76,6 +76,8 @@
|
||||||
(setq consult-project-root-function #'doom-project-root)
|
(setq consult-project-root-function #'doom-project-root)
|
||||||
(setq completion-in-region-function #'consult-completion-in-region)
|
(setq completion-in-region-function #'consult-completion-in-region)
|
||||||
(setq consult-narrow-key "<")
|
(setq consult-narrow-key "<")
|
||||||
|
(setf (alist-get #'consult-bookmark consult-config) (list :preview-key nil))
|
||||||
|
(setf (alist-get #'consult-recent-file consult-config) (list :preview-key nil))
|
||||||
(setq consult-line-numbers-widen t)
|
(setq consult-line-numbers-widen t)
|
||||||
(setq consult-async-input-debounce 0.5)
|
(setq consult-async-input-debounce 0.5)
|
||||||
(setq consult-async-input-throttle 0.8))
|
(setq consult-async-input-throttle 0.8))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue