My question is easiest to describe in terms of bash.
When you're using a plain bash configuration (plain, or maybe its common
configuration for most linux distros), and try to open a file at the
command line using tab for autocompletion, like this:
[ /etc ]$ vim rc.(tab)
rc.d rc.local rc.sysinit
You get a list of options - nothing is completed, so I would get to type
d, l, or s, then hit tab again to get a tab completion.
In vim, suppose I'm in the same directory and I try to open a file
:sp rc.(tab)
Immediately gives me
:sp rc.d/
For example, supposing I want to edit rc.sysinit, I'd then have to hit
tab until I saw it appear (twice, in this case, but normally, I wouldn't
know that until I see it), or backspace twice and then an s, then tab.
Is there way to make vim autocomplete like bash instead of like this?
-Jack