[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A quick way of opening any file with given extension within a directory
A quick way of opening any file with given extension within a directory hierarchy?
Tue, 05 Jun 2007 09:39:24 -0700
I am wondering if this functionality has been written by someone.
1. I call func-i-look-for.
2. The mini buffer switches to "What file do you want?: "
3. When I start typing, there is a buffer that shows all files within
a given directory hierarchy whose filenames start with what I have
4. I can cycle between available completions with C-n C-p (without
messing up what I have written in the minibuffer) and <return> takes
me to chosen buffer.
Let's clarify with an example. I have the following source tree:
And call (after requred setup is made) func-i-look-for, then type "fi"
I would now have file.cpp and file2.cpp listed in the buffer, and C-n
<return> would get me to file2.cpp.
Does anyone know if there is elisp code that does this somewhere?
- Martin Nordholts