Search code examples
vimvi

How to insert past the last letter of a line


many times I'll want to enter insert mode but after the last character on a given line:

for example:

    some code {
               ^ <- want to insert here

I can't move past the { in normal mode. The closet command I can find so far is o which inserts on a new line.

(EDIT sorry for the initial erroneous title)


Solution

  • Enter insert mode with a instead of i.