begin  quoting Todd Walton as of Mon, Apr 02, 2007 at 07:12:35AM -0500:
> On 4/2/07, Stewart Stremler <[EMAIL PROTECTED]> wrote:
> >It's obvious what's wrong: you're not using hjkl for movement.
> 
> I use hjkl for moving around in command mode (and love it like a
> proper vi sub should).  But tell me this: I have a file with one line
> of text.  I want to add to the end of the line.  I can use the l key
> to get all the way right, but it stops on top of the last character.
> I hit i and I'm in insert mode.  How do I now get my cursor to that
> little space one beyond the last character?  Is the arrow key not my
> only option there?

To append to the end of the current line, hit "A" -- "_A_ppend to the
end of the line".  To insert characters *after* the cursor point, use
"a" instead of "A".

Likewise, you use "i" to insert *before* the cursor point, and use "I"
to insert at the start of the line.

-- 
I guess that hjkl aren't the only movement commands to know.
Stewart Stremler


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to