Setting vim to nocompatible by default in Cygwin

Corinna Vinschen
Tue Dec 5 11:03:00 GMT 2006

On Dec  5 11:48, Corinna Vinschen wrote:
> On Dec  4 14:29, Carles Cufi wrote:
> > Hi there,
> > 
> > After some discussion with Matt Wozniski I've come to the conclusion that the default global config file for vim (/usr/share/vim/vimrc) included with Cygwin differs quite importantly from the ones included in other UNIX-like operating systems like Linux or Mac OS X (and yes, I know Cygwin is not an OS...)
> > The key difference is that Cygwin does not set the "nocompatible" flag by default, something the other two OSs do. This results in old style vi-like behavior when editing with vim, which I personally feel is undesirable.
> > I would therefore suggest to include the "nocompatible" flag set by default when installing Cygwin.
> Well, no.  What you get is exactly what is produced by `make install`
> from the vanilla sources.  It's quite easy to do what you want by
> adding "set compatible" to your ~/.vimrc.



Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list