fix(vertico): add counsel-file-jump analogue

Fix 'SPC f F' / 'C-c f F' for vertico users
This commit is contained in:
Henrik Lissner 2021-07-28 12:53:02 -04:00
parent 551e5adf81
commit 33b646826b
4 changed files with 28 additions and 5 deletions

View file

@ -280,6 +280,9 @@ otherwise falling back to ffap.el (find-file-at-point)."
((and (featurep! :completion ivy)
(doom-project-p))
(counsel-file-jump guess (doom-project-root)))
((and (featurep! :completion vertico)
(doom-project-p))
(+vertico/find-file-in (doom-project-root) guess))
((find-file-at-point (ffap-prompter guess))))
t))