Using vi in UNIX mode instead of DOS mode

Reid Thompson Reid.Thompson@ateb.com
Tue Mar 22 10:23:00 GMT 2005


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/



More information about the Cygwin mailing list