4

Windows 10 (64 bit), Emacs 25.1, Helm package.

To find file (e.g. myfile.txt) in any folder (not git, not project file) I use command helm-find-file. It's work. OK.

But now I need to find myfile.txt in current folder AND all subfolders. How I can do this by helm package?

Community
  • 1
  • 1
Alexei
  • 14,350
  • 37
  • 121
  • 240

2 Answers2

5

There's two ways that should work for you. In both cases, first use helm-find-files.

1) Once you're in the directory that you want to start your search from, hit C-u C-x C-d (this runs helm-browse-project recursively). Now you can type the filename that you're looking for and it should search in all subdirectories.

2) Alternatively, again from helm-find-files, hit C-c / (this effectively runs find (not sure how well this will work in Windows)).

Alejandro C.
  • 3,771
  • 15
  • 18
0

Using helm-find-files followed by the C-c / command effectively runs helm-find which lets you type in a filename to search for from the current directory. You can also just call helm-find directly or helm-find-1 if calling from elisp code.

scytale
  • 1
  • 2