I use auto completion in my shell (zsh) and I'm often a bit sloppy.
Imagine I have the files
sourcecode.h in the current directory.
vim sour<TAB><ENTER> and get
vim sourcecode.<ENTER> autocompleted. Vim opens a new file.
I'd like vim to ask me, if I forgot to mention the suffix and maybe even suggest the possible files (like in the directory open mode). Something like:
You opened sourcecode. Did you mean: sourcecode.c sourcecode.h > create new file sourcecode.
Is this possible? Does a plugin exist that does something like that?