I know its a simple one, but I've had no luck finding it so far.
I known A, brings you to the end of a line.
However, I would like to jump to and, insert after the second last character.
Example: My name is Joh|n
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityIf you mean insert before last character: $i
(not repeatable like A
)
If you mean just to go to the second to last character: $h
$
goes to the last character, then left cursor. If left cursor doesn't work, thenh
.