[comp.editors] arrow keys vs hjkl in vi

gast@lanai.cs.ucla.edu (David Gast) (10/07/90)

In article <0dEy02sbcfd=01@amdahl.uts.amdahl.com> terry@amdahl.uts.amdahl.com (Lewis T. Flynn) writes:
>In article <1990Oct2.211454.1195@alchemy.chem.utoronto.ca> mroussel@alchemy.chem.utoronto.ca (Marc Roussel) writes:
>>It often happens when using vi that the arrow keys get misinterpreted
>>somehow.  Lines are then inserted with capital letters on them and one
>>is left in edit mode.

>The System V version of vi doesn't use curses/terminfo for cursor
>movement.

I suppose that you like using the cursor keys, but I suggest that you
use hjkl (you can also use space, backspace, etc) instead.  Using the
curosor keys is much slower because you have to take your fingers off
the ``home keys'' and then move them back.  I almost never use the
cursor keys.

David Gast
gast@cs.ucla.edu
{uunet,ucbvax,rutgers}!{ucla-cs,cs.ucla.edu}!gast

peter@ficc.ferranti.com (Peter da Silva) (10/08/90)

In article <39847@shemp.CS.UCLA.EDU> gast@lanai.cs.ucla.edu (David Gast) writes:
> I suppose that you like using the cursor keys, but I suggest that you
> use hjkl (you can also use space, backspace, etc) instead.

Doubled. I unmap all the cursor keys in my .newsrc. They're so often mapped
to real VI commands such as ^L, ^V, and ^^. If they're not they generate
bogus commands when I type ahead of VI and hit sequences like "ESC" "y" (which
on some terminals maps to "delete to end of page" and some versions of VI
treat as "delete to end of file" (utterly bogus!).
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter@ferranti.com