delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/21/10:07:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <01c501c397dc$c47afe60$cd8a9dc0@uk.aonix.com>
From: "Cliff Hones" <cliff AT aonix DOT co DOT uk>
To: "zzapper" <david AT tvis DOT co DOT uk>, <cygwin AT cygwin DOT com>
References: <hd7apvs8lblus6rtdkasan4srul08ppu3e AT 4ax DOT com> <3F9526A2 DOT 3080406 AT etr-usa DOT com> <bo9apv8n5u19o6roqrcmpfgp26h426a93t AT 4ax DOT com>
Subject: Re: Command Line Editting in VI mode
Date: Tue, 21 Oct 2003 15:08:12 +0100
Organization: Aonix Europe
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

zzapper wrote:
> On Tue, 21 Oct 2003 06:29:22 -0600, Warren Young <warren AT etr-usa DOT com>
> wrote:
> 
> >zzapper wrote:
> >
> >> is there any way of defaulting to Vi mode? Or any other advice?
> >
> >Start it via 'ex' when you know you want the line editor.  That's the 
> >line editor underlying vi.  Start it via 'vi' only when you want visual 
> >editing.
> 
> PMI (Pardon My Ignorance) How do I do that?

/usr/bin/ex should be a symbolic link to vim.  When vim is invoked
as ex, it starts in command line mode.

So just $ ex <your file>

-- Cliff


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019