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

@ -1,5 +1,8 @@
* PROJ List of things not working
** TODO Start-up with recent files
** TODO Functions very slow on startup:
- =consult-recent-files=
- =consult-bookmark=
Probably due to live preview, but gets much faster on subsequent calls.
** TODO Add vanilla keybindings
*** TODO Add keybinding for embark-act
* PROJ List of things needed for Ivy parity

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 "<")