Is there a way from the helm-mini
command to list includes files in the current directory as part of potential search matches?
You'll find helm-mini
defined as:
(defun helm-mini ()
"Preconfigured `helm' lightweight version \(buffer -> recentf\)."
(interactive)
(helm-other-buffer '(helm-c-source-buffers-list
helm-c-source-recentf
helm-c-source-buffer-not-found)
"*helm mini*"))
so it just calls with a list of sources. It's very easy to add any existing source.
With helm-mode
enabled run C-h vhelm-c-source files (note space) and you should find:
helm-c-source-files-in-current-dir
So make your own helm command with the sources you need:
(defun helm-my-buffers ()
(interactive)
(helm-other-buffer '(helm-c-source-buffers-list
helm-c-source-files-in-current-dir
helm-c-source-recentf
helm-c-source-buffer-not-found)
"*helm-my-buffers*"))
Check out the definition of helm-for-files-prefered-list
for other sources that might interest you. And use the help system to discover new goodies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With