15

I'm using Spacemacs (on Windows 10 if that matters) with the default keybindings. This may differ from your configuration, but I found the following ways to open files via Helm-Find-Files: Open Helm-Find-Files - SPCff Type in filename (via tab completion etc.). Once file has been selected, there are 3 options I use for opening the file: Option 1. Tab to ...


11

If you use helm-ag command, you can specify option like -G\.js$ search_pattern, or if you use helm-do-ag, you can use C-u prefix for specifying extension. This is screencast. Thanks for using helm-ag.


3

helm-for-files are only composed of these sources: '(helm-source-buffers-list helm-source-recentf helm-source-bookmarks helm-source-file-cache helm-source-files-in-current-dir helm-source-locate) helm-find-files is created from this source: helm-source-ffiles. So, it means you cannot share actions between two commands. Those ...


3

Projectile can cache if you enable it with (setq projectile-enable-caching t). After caching is enabled and after you open the file list with helm-projectile-find-file/projectile-find-file for once, the subsequent invocations gives you the list instanly (~1 second). It works with the Linux kernel source tree with more than 36000 files. My work laptop is ...


2

According to the comments from @Tu Do above, apparently that was possible at one time, but the feature has been taken out in commit 8489bee and related commits.


2

Yes, there's exactly this feature. You can hit C-<backspace> to toggle it, or set the variable helm-ff-auto-update-initial-value to t. Documentation: Auto update when only one candidate directory is matched. Default value when starting ‘helm-find-files’ is nil because it prevent using to delete char backward and by the way confuse ...


2

It appears that you can customize helm-type-file-actions to, ah, customize which actions are available for a file. It does not appear to be possible to customize the actions offered for differing kinds of files. Selected actions based based only on name of the files, well that would be fun but it's not in helm today. Predicting the emacs mode for a file ...


2

Full behavior of helm-find-files is coming from helm-source-find-files. However, this variable has a docstring that says: "Should not be used among other sources." A couple of observations, from trying a few things and looking at helm-files.el: Adding helm-source-find-files to helm-mini-default-sources does produce the desired effect, with the following ...


1

Turns out it was a bug, now fixed.


1

Although you have in mind a list of file types you want to search notice that the usual argument to find which selects files is -name which takes a globbing pattern. So something like -name *.ns.* should match all the Javascript files in your project. Helm and it's ag integration probably have something similar. These commands record history. Use C-p or ...


1

You can use helm-ag-use-grep-ignore-list and specify ignore patterns in grep-find-ignored-files and grep-find-ignored-director.


1

If using ag If you are using ag, you can place an .agignore file in the project root with the files you would want to ignore. Here's an example: # Extension ignores *.log *~ *#*# *.txt


1

You can add custom actions to the list by creating an eshell alias. In the documentation on the wiki, it says Completion is made on your Eshell aliases. So you can do it 2 ways Create an alias in an eshell buffer by typing alias foo cat \$1Enter Creating a function in lisp, and then creating an alias for the function, for example: (defun myaction2 (...


Only top voted, non community-wiki answers of a minimum length are eligible