-2

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

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

1 Answer 1

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

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

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