On Wed, 2003-09-03 at 16:31, Ross Werner wrote: > in these newfangled versions of vim, when I :e a new file and try to > autocomplete, instead of simply completing up to the next ambiguity, it > will try and "guess" which file I want and autocomplete that, and then > hitting tab further will cycle through the rest of the files. I hate this. > A lot. How do I switch it back to the old way? > > It's really a pain when I have, say, thirty files in a directory, all of > which start with "somereallylongname-", half of them follow that with > "middlepart-" and then each end with a long, unique name. With > autocomplete the old way, I can "so<TAB>mid<TAB>longunique<TAB>" and > voila. The "new style", if I "so<TAB>" it starts cycling through files and > it may take me fifteen tabs to find the right one. Or I could hit > "so<TAB>", backspace the part that isn't apropos, type in the actual part, > tab again, rinse and repeat. Please, just somebody give me back my old > autocomplete! Also, I like having the files in the directory pop up when I > hit <tab> twice. It's nice if you're very forgetful like I am.
"set wildmode=..." in your .vimrc I'm using "set wildmode=list:longest,full" and get the behavior you described, which, if I'm not mistaken, is the bash default style. :help wildmode for detailed info on the available options. Jacob Fugal ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
