X-Spam-Check-By: sourceware.org Message-ID: <20061205212654.74613.qmail@web51015.mail.yahoo.com> Date: Tue, 5 Dec 2006 13:26:54 -0800 (PST) From: Carles Cufi Subject: Re: Setting vim to nocompatible by default in Cygwin To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kB5LR8G4008076 Fair enough. I have to say that it can be a bit confusing for people who are used to standard Linux distributions and Mac OS X when they start using Cygwin, but I understand your point. Thanks! Carles ----- Original Message ---- From: Corinna Vinschen To: cygwin AT cygwin DOT com Sent: Tuesday, December 5, 2006 10:48:35 AM Subject: Re: Setting vim to nocompatible by default in Cygwin 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/