Re: vi and vim

2010-08-12 Thread Gary Johnson
On 2010-08-11, Larry Hall (Cygwin) wrote:
 On 8/11/2010 12:22 PM, Dave Robison wrote:
 Hello,
 
 At the risk of bringing down a cascade of derision, is there any way to
 use vi instead of vim in cygwin?
 
 I really prefer vi, but I can't seem to find a binary for it which isn't
 linked to one iteration or another of vim.
 
 If not, c'est la vie.
 
 Cygwin provides the vim package, which creates a link to 'vim-nox.exe'
 called 'vi'.  Unless you set 'nocompatible' in your ~/.vimrc, you will get
 a vi-compatible version of vim.

Actually, just the presence of ~/.vimrc will set 'nocompatible'.
See

:help compatible-default

If you want a vi-compatible vim, name your rc file .exrc and not
.vimrc.

Regards,
Gary


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



vi and vim

2010-08-11 Thread Dave Robison

 Hello,

At the risk of bringing down a cascade of derision, is there any way to 
use vi instead of vim in cygwin?


I really prefer vi, but I can't seem to find a binary for it which isn't 
linked to one iteration or another of vim.


If not, c'est la vie.

Thanks for your time,

Dave



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: vi and vim

2010-08-11 Thread Larry Hall (Cygwin)

On 8/11/2010 12:22 PM, Dave Robison wrote:

Hello,

At the risk of bringing down a cascade of derision, is there any way to
use vi instead of vim in cygwin?

I really prefer vi, but I can't seem to find a binary for it which isn't
linked to one iteration or another of vim.

If not, c'est la vie.


Cygwin provides the vim package, which creates a link to 'vim-nox.exe'
called 'vi'.  Unless you set 'nocompatible' in your ~/.vimrc, you will get
a vi-compatible version of vim.  vim is the only package in the Cygwin
distribution providing 'vi'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple