This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using vi in UNIX mode instead of DOS mode


On Mon, Mar 21, 2005 at 01:39:42PM -0500, Igor Pechtchanski wrote:
>On Mon, 21 Mar 2005, Reid Thompson wrote:
>
>> Auteria Wally Winzer Jr. wrote:
>> > Is there anyway of telling vi to use UNIX-mode editing
>> > as supposed to DOS-mode? I want to avoid all the
>> > "^M"'s when transferring files from Windows to UNIX,
>> > even though I use dos2unix to remove them, I want to just simply
>> > avoid that step.
>> >
>> > Any and all assistence is grately appreciated.
>> >
>> > Regards,
>> > Auteria W. Winzer Jr.
>>
>> :help fileformat
>>
>> reid
>
>...or use binary mounts.

I think vim will still "help" you even if you have binary mounts though,
won't it?  I just noticed that one of the files that I was editing on
UNIX had CRLF line endings and vim was nice enough to mask that fact for
me.  I would expect binary mounts to behave similarly.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]