Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <3950BEE8.38BA1393@dothill.com>
Date: Wed, 21 Jun 2000 09:11:04 -0400
From: Jason Tishler <Jason.Tishler@dothill.com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Joey Yue <joeyfish@hotmail.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: How to set editor like VIM in cygwin with and with GUI ?
References: <20000621040947.24194.qmail@hotmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Joey,

Joey Yue wrote:
> I am using cygwin 1.1.0 in Win2000 Professional, and just tried to look for
> editor like VI or Emacs. I found out VIM and installed VIM today. However, I
> don't know how to set VIM in cygwin edit WITH GUI(GVIM) and WITHOUT
> GUI(console).

My suggestion is to use the pre-built, non-GUI, cygwin version of vim
from:

    http://cygutils.netpedia.net/V1.1/vim-5.6/index.html

> Can anyone show me what changed do I have to make in .bashrc, cygwin.bat or
> any related file to use VIM with and without GUI?

Add export VIM=/usr/local/share/vim to your .bashrc.

> Any file or program I need to in order to make the editor work?

You should create ~/.vimrc (can be empty); otherwise, vim defaults to
vi mode and will not autosense file types.  This can lead to spurious
^Ms in your files...

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

