delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/05/05:48:53

X-Spam-Check-By: sourceware.org
Date: Tue, 5 Dec 2006 11:48:35 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Setting vim to nocompatible by default in Cygwin
Message-ID: <20061205104835.GH9829@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20061204222937 DOT 32824 DOT qmail AT web51008 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20061204222937.32824.qmail@web51008.mail.yahoo.com>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019