From owner-freebsd-doc Sun Aug 18 00:04:32 1996 Return-Path: owner-doc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA29928 for doc-outgoing; Sun, 18 Aug 1996 00:04:32 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA29920 for ; Sun, 18 Aug 1996 00:04:31 -0700 (PDT) Received: from localhost (localhost.Stanford.EDU [127.0.0.1]) by andrsn.stanford.edu (8.7.5/8.6.12) with SMTP id AAA00996; Sun, 18 Aug 1996 00:01:02 -0700 (PDT) Date: Sun, 18 Aug 1996 00:01:02 -0700 (PDT) From: Annelise Anderson To: Gary Kline cc: doc@freebsd.org Subject: Re: vi tutorial In-Reply-To: <199608170220.TAA09516@athena.tera.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 16 Aug 1996, Gary Kline wrote: > > Hi, > > Enclosed is the vi_tutorial that I've been distributing. > So far at least 30 people have requested the original > ASCII version. The original was somewhat less featureful > than this HTML draft. > > If you guys like this and wish to include it with the other > documentation, I hereby give my permission. ---I would like > to see something like this for emacs....about which I have > little understanding. --- > > Anyway, enjoy! > > gary kline > > Encl: > [most of tutorial deleted] > > > > > > > You cannot, however, use the arrow keys while in insert mode! > Try typing something, like the first four > lines of the pledge of allegiance if nothing else comes to mind. > When you are through typing, to leave insert mode, press the > ``ESC'' key. > >

> Pressing any arrow keys while in insert mode (which happens often) > causes vi to mess up. If this happens, press ``ESC'' to exit > insert mode, then delete the extra line created. You can always hit > ``ESC'' to get out of insert mode and fix things that you inadvertantly > screwed up. It's just not true that the arrow keys don't work in insert mode. Or rather, perhaps they work with some terminals/keyboards and not with others, which is perhaps one of the problems with a vi tutorial. The failure of the arrow keys in some circumstances (in which they generally don't work in command mode either) may be the reason for the many motion commands in vi. I am aware that the arrow keys sometimes cause text to be repeated; I used to run into this fairly often but seem to have figured out how to avoid it without really knowing what caused it in the first place. (I assume it's actually a feature :-) Annelise