fix(vertico): add counsel-file-jump analogue
Fix 'SPC f F' / 'C-c f F' for vertico users
This commit is contained in:
parent
551e5adf81
commit
33b646826b
4 changed files with 28 additions and 5 deletions
|
@ -129,8 +129,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 'consult-find))
|
||||
(consult-find default-directory))
|
||||
(fboundp '+vertico/find-file-in))
|
||||
(+vertico/find-file-in 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