Auto-complete only filenames with bash when running vim?
===

Is there some plugin for bash that will modify tab complete when I'm trying to open a file with vim? For example, if I have a directory with the following files:

- foo/
- foo.c
- foo
- bar.c
- bar/

(where foo/ and bar/ are directories, and foo is a binary file)

and I do this:

> vim f

and then hit tab, is there a way for the autocomplete to ignore the foo/ and foo binary files, and automatically fill it in with "foo.c", since that's the only text file that starts with f?
