Try
:set wildmenu

I put the above line in my .vimrc file and now can do the following:

:e *s* #then hit tab and any file in the current directory that contains an 's' is displayed in a menu.

Good luck,
Kevin


On Jul 13, 2006, at 1:58 PM, Tom Purl wrote:

Hi, I'm a Vim scripting newbie, and had a pretty general question.

I'm would like to write a function that does the following:

1. Searches a directory for all files that end in the string "Template"
2. Return those file names to the user as chooseable list, similar to
the way that the spell checker functionality works when you use the z=
command.

Would anyone know how to do this? I checked the functions help in Vim,
but couldn't find what I was looking for.

Thanks in advance for any guidance!

Tom Purl


Reply via email to