This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to configure VIM to generate files with LF line endings
- From: Reid Thompson <Reid dot Thompson at ateb dot com>
- To: Michael Giroux <mlgiroux at gmail dot com>
- Cc: cygwin <cygwin at cygwin dot com>
- Date: Thu, 13 Sep 2007 14:42:36 -0400
- Subject: Re: How to configure VIM to generate files with LF line endings
- References: <5ea470920709131139l2443b620o39ccc73cf63319df@mail.gmail.com>
- Reply-to: Reid dot Thompson at ateb dot com
add
set fileformat=unix
to vimrc/gvimrc
On Thu, 2007-09-13 at 11:39 -0700, Michael Giroux wrote:
> How do I configure VIM to write files using LF for line endings?
>
> I've tried man vi, and man vimrc and man .vimrc, without success.
>
> Michael
>
> --
> 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/
--
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/