Paul Novarese: Using Emacs is a plonkable offense. I only learned Emacs because vi was too advanced for me. I got one page into the vi tutorial and gave up:

Q. How do I move the cursor one character forward in vi?

The correct answer is:

<ESC>la

which works in all modes. Except at the beginning of a line, where the above command will move the cursor two characters forward. If it did anything else, it would not be vi. So at the beginning of the line, this answer is the correct one:

<ESC>li

And of course neither will work at the end of the line. At the end of the line, the correct command is:

<ESC>j^i

The topic of the next two lectures will be “how to move the cursor one character backward in vI”…

And at that point, I gave up and installed Emacs.

§

Respond privately

I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)



§

firehosecodeplanet

© 2001–present Mark Pilgrim