Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: Command Line Editting in VI mode Date: Tue, 21 Oct 2003 13:31:42 +0100 Lines: 18 Message-ID: References: <3F9526A2 DOT 3080406 AT etr-usa DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Newsreader: Forte Agent 1.93/32.576 English (American) trialware On Tue, 21 Oct 2003 06:29:22 -0600, Warren Young 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? 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/