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

  • Please give example test cases.
    – 3N4N
    Mar 23, 2019 at 16:27
  • $ goes to the last character, then left cursor. If left cursor doesn't work, then h.
    – peterh
    Mar 24, 2019 at 18:11

1 Answer 1


If you mean insert before last character: $i (not repeatable like A)

If you mean just to go to the second to last character: $h

  • Thanks D. Ben Knoble! Inserting before the last character is what I was looking for. Mar 24, 2019 at 18:57
  • @MarkCosgrave, that is such a... specific requirement.
    – 3N4N
    Mar 29, 2019 at 19:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.