completion/helm: don't index HOME
Invoke helm-find-files instead
This commit is contained in:
parent
9a3e71731c
commit
2c956593cf
2 changed files with 13 additions and 1 deletions
|
@ -6,6 +6,18 @@
|
|||
;; TODO Implement `+helm/tasks'
|
||||
(error "Not implemented yet"))
|
||||
|
||||
;;;###autoload
|
||||
(defun +helm/projectile-find-file ()
|
||||
"Call `helm-find-files' if called from HOME, otherwise
|
||||
`helm-projectile-find-file'."
|
||||
(interactive)
|
||||
(call-interactively
|
||||
(if (or (file-equal-p default-directory "~")
|
||||
(when-let* ((proot (doom-project-root 'nocache)))
|
||||
(file-equal-p proot "~")))
|
||||
#'helm-find-files
|
||||
#'helm-projectile-find-file)))
|
||||
|
||||
|
||||
;;
|
||||
;; Project search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue