refactor(vertico): use consult-fd
Close: #7458 Co-authored-by: LemonBreezes <look@strawberrytea.xyz>
This commit is contained in:
parent
9bfc0ee029
commit
60e22fd2eb
4 changed files with 12 additions and 54 deletions
|
@ -150,8 +150,8 @@ If DIR is not a project, it will be indexed (but not cached)."
|
|||
#'counsel-projectile-find-file
|
||||
#'projectile-find-file)))
|
||||
((and (bound-and-true-p vertico-mode)
|
||||
(fboundp '+vertico/find-file-in))
|
||||
(+vertico/find-file-in default-directory))
|
||||
(fboundp '+vertico/consult-fd-or-find))
|
||||
(+vertico/consult-fd-or-find default-directory))
|
||||
((and (bound-and-true-p ivy-mode)
|
||||
(fboundp 'counsel-file-jump))
|
||||
(call-interactively #'counsel-file-jump))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue