On Thu, Nov 02, 2006 at 04:25:39PM +0800, [EMAIL PROTECTED] wrote:
> Gary Johnson <[EMAIL PROTECTED]> 写于 2006-11-02 15:55:34:
> >
> > This behavior might be affected by 'wildmode'. Mine is set to
> > "longest,list". I also tried "longest,list:longest", but the
> > behavior was the same.
> >
> > Regards,
> > Gary
>
> To make things clear, I had just tried:
> vim -u NONE -U NONE
> then :set nocp
> (Must set nocompatible or the tab completion will be disabled.)
>
> and then :help pre followed by <tab>
>
> It works well, so the <tab> completion should be okay on default.
>
> You can try that also, if that works for you, then you may need to check
> your ~/.vimrc and your ~/.vim directories to see what's different from the
> default. Then reset the suspected option to default.
I agree with Gary. I tried
$ vim -u NONE
:set nocp wildmenu wildmode=longest:list
:help termi<Tab>
:help preser<Tab>
I was hoping for "termin" in the first case and "preserve" in the
second, but I was stuck with "termi" and "preser".
HTH --Benji Fisher
P.S. Has there been a patch that affects this? I am still using vim
7.0.000 .