delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/21/08:17:46

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Command Line Editting in VI mode
Date: Tue, 21 Oct 2003 13:17:26 +0100
Lines: 12
Message-ID: <hd7apvs8lblus6rtdkasan4srul08ppu3e@4ax.com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Newsreader: Forte Agent 1.93/32.576 English (American) trialware

Hi,
I like to use VI as a Command Line Editor. I have to click "ESC" to
enter this mode. I'm not always sure if I've already clicked ESC; is
there any way of defaulting to Vi mode? Or any other advice?


zzapper
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


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