In Bash, when there are several files with the same prefix and I type part of the prefix and hit Tab, it completes the common prefix and allows me to continue typing to differentiate among the possible results.
In Vim, when there are several files with the same prefix and I type part of the prefix and hit Tab, it completes the entire first match and lets me then select among all the matches. To reduce the set, I have to backspace until I get to the end of the common part, then type some more and hit Tab again.
I often have lots of files where there is a long common prefix, and the file I want is not among the first (for example, a directory of project files containing, among other things, various makefiles all with the name Makefile.{whatever}
).
Can I make Vim complete more like Bash to save lots of key strokes?
Bonus if this can apply to other completions as well (for example, enum values that all have the same prefix)