Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs: search for part of a filename

Tags:

emacs

In eclipse (with the emacs keys) i hit ctrl-x-ctrl-f and it searches for filenames containing the word I type. what is the equivalent emacs feature emacs feature?

like image 235
Arthur Ulfeldt Avatar asked Aug 18 '10 02:08

Arthur Ulfeldt


2 Answers

You might try find-file-in-project + ido-mode. Alternative you can try the newer and more feature complete project projectile.

like image 52
Bozhidar Batsov Avatar answered Sep 30 '22 17:09

Bozhidar Batsov


You can autocomplete filenames in the current directory with TAB, but it sounds a little like you are wanting some kind of project management (to find all matching files belonging to a pre-defined project, not just in the current directory).

Is that the case? (If not, which files do you want to search?)

M-x find-dired is useful for running arbitrary find commands from the current (or specified) directory.

like image 28
phils Avatar answered Sep 30 '22 17:09

phils