| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <97AD70A848712741860C76A8F884D922014F4AF3@ati-exchg2.asyst.com> |
| From: | "Christensen, David" <dchristensen AT Asyst DOT com> |
| To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| Subject: | FW: vim 6.1.300-1 DOS line endings (newline expansion) |
| Date: | Fri, 21 Feb 2003 14:44:43 -0800 |
| MIME-Version: | 1.0 |
cygwin AT cygwin DOT com:
Igor Pechtchanski wrote on February 21, 2003 2:35 PM:
> Put the following in your ~/.vimrc:
>
> set fileformat=dos
Sounds logical. Unfortunately, it doesn't seem to work:
dchristensen AT A05390:~$ cat .vimrc
set autoindent
set number
set shiftwidth=4
set fileformat=dos
" Cygwin:
syntax off
" Linux:
":if exists("syntax_on") | syntax off | else | syntax enable | endif
dchristensen AT A05390:~$ vi baz
1 abcd
2
dchristensen AT A05390:~$ cat baz
abcd
dchristensen AT A05390:~$ dump baz
000000 a b c d \n \n
000006
I believe .vimrc is read every time Vim starts. I don't get it...
David
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |