Lev Lvovsky wrote:


I've never actually figured out why upon after typing in insert mode, the cursor moves back one character to the left after pressing escape. What's the reason behind this, and is there any way to turn it off?

To best understand this, one needs to use console vim. There, the cursor cannot be between characters; it must lie on a character. So, the insert puts a character before the character the cursor is on; when done, the cursor lies on the last inserted character.

Now, try gvim. Gvim lets the cursor lie between characters, but when done, the character again lies on the last inserted character.

Seems a reasonable choice, to me.  Any choice would be arbitrary.

Now, to turn it off: don't use insert.  Use append.

Regards,
Chip Campbell

Reply via email to