RE: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Reid Thompson
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

RE: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Igor Pechtchanski
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

RE: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Auteria Wally Winzer Jr.
how do you use the binary mounts Igor? Auteria --- Igor Pechtchanski [EMAIL PROTECTED] 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

Re: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Christopher Faylor
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

Re: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Igor Pechtchanski
On Mon, 21 Mar 2005, Christopher Faylor wrote: 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

RE: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Igor Pechtchanski
On Mon, 21 Mar 2005, Auteria Wally Winzer Jr. wrote: --- Igor Pechtchanski [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. 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

RE: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Auteria Wally Winzer Jr.
Thanks alot Igor for providing such valuable information. Auteria --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Mon, 21 Mar 2005, Auteria Wally Winzer Jr. wrote: --- Igor Pechtchanski [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On Mon, 21 Mar

RE: Using vi in UNIX mode instead of DOS mode

2005-03-21 Thread Reid Thompson
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