selectrum: consult-recent-files now works on startup

consult doesn't turn on refentf-mode by itself, you need to do it
manually.
It works, but is very slow on first try.
This commit is contained in:
Itai Y. Efrat 2021-04-25 21:08:13 +03:00
parent 1b74d822c3
commit dc5442f78f
2 changed files with 5 additions and 1 deletions

View file

@ -72,6 +72,7 @@
[remap switch-to-buffer-other-frame] #'consult-buffer-other-frame
[remap yank-pop] #'consult-yank-pop)
:config
(recentf-mode)
(setq consult-project-root-function #'doom-project-root)
(setq completion-in-region-function #'consult-completion-in-region)
(setq consult-narrow-key "<")