← Back to context

Comment by Izkata

4 days ago

> Because of that, I don't really treat insert mode as a separate "place" in my mind. Let's say I want to insert the text "abc". I don't think, enter insert mode, type "abc", then return to normal mode. I just see it as a single action in normal mode that includes the key sequence "i a b c ESC".

It is an action. Check out what happens if you prefix it with a repetition:

   5iHello<esc>

-->

   HelloHelloHelloHelloHello

Same goes for other ways to get into insert mode (like I, a, A, o, O), then for dual-actions that do a delete and switch to insert mode (like s, c) the repetitions apply to the delete part.