delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/21/14:30:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Using vi in UNIX mode instead of DOS mode
Date: Mon, 21 Mar 2005 14:29:51 -0500
Message-ID: <F71C0DC6B4FD3648815AAA7F969E35290D9793@sr002-2kexc.ateb.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Reid Thompson" <Reid DOT Thompson AT ateb DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j2LJU0cc022019

at one time i'd pulled these from somewhere also -- currently they are
commented out in my .*vimrc.

"au BufReadPre * if (&ff == "dos") |au BufReadPost * set fileformat=unix
|au BufReadPost * %s/^M\+$// | endif
"au BufReadPost * if (&ff == "dos") | set ff=unix | %s/^M\+$// | endif

reid

--
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