I had this functionality working until I recently revamped my init files. Now, I can't figure out how to get it back.
I use helm-find-file (mapped to C-x C-f) for finding and opening files. I used to be able to execute the following keystrokes to find the location of a file in a sea of subdirectories. The following shows a sample project:
~/src/Bar/Bar.cpp
~/src/Foo/Foo.cpp
~/src/FooBar/FooBar.cpp
If I executed the following, the file ~/src/Foo/Foo.cpp would open.
C-x C-f ~/src/*/Foo.cpp <return>
If I executed the following from my home directory, helm would let me select which file to open, either ~/src/Foo/Foo.cpp or ~/src/FooBar/FooBar.cpp
C-x C-f ~/src/*/Foo*
Since I revamped my init files, I can't figure out what setting I nixed. Can anyone point me in the right direction of how to acheive this functionality again?
helm-find-files
supports globs the way you describe (seeC-x C-f C-h m
). You can tryhelm-find
(C-x C-f C-c /
). See alsohelm-locate
andhelm-projects-find-files
.