Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 1996 00:01:02 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Gary Kline <kline@tera.com>
Cc:        doc@freebsd.org
Subject:   Re: vi tutorial
Message-ID:  <Pine.BSI.3.94.960817234347.955C-100000@andrsn.stanford.edu>
In-Reply-To: <199608170220.TAA09516@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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]
> 
> 
> 
> 
> <!doctype html public '-//IETF//DTD HTML//EN'>
> <! Gary Kline et al., 15aug96>
> <EM> You cannot, however, use the arrow keys while in insert mode!  </EM>
> 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.
> 
> <P>
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960817234347.955C-100000>