Sunday, November 29, 2009

vim tab autocompletion auto completion doesn't work problem

vim tab autocompletion auto completion doesn't work problem

Solution:

:set nocompatible

> > > first problem i ran into is, in gvim command mode,
> > > typing
> > > :Ex c:\LongDir
> > >
> > > insert ^I instead of completing the file/dir name
> > to
> > > LongDirName. This always worked until vim7.
> > >
> > > Do I (how) need to edit .vimrc somehow so tab file
> > > name completion would work again in Vim7 ?
> >
> > It looks as though you are getting
> > vi-compatible behavior of
> > on the command line. Specifically, 'wildchar' may
> > be set to its
> > vi-default rather than its vim-default. Please
> > check the following.
> >
> > :verbose set compatible? cpo? wildchar?
> >
> > You are supposed to get 'nocompatible' and
> > vim-defaults as soon as vim
> > finds a user vimrc file, so please also check that
> > your vimrc file is
> > being loaded by looking at
> >
> > :scriptnames
> >
> > HTH --Benji Fisher

No comments: