Vim: Inserting Text Cheat Sheet

aAppend text after the cursor [count] times
AAppend text at the end of the line [count] times
iInsert text before the cursor [count] times
IInsert text before the first non-blank in the line [count] times
gIInsert text in column 1 [count] times
oBegin a new line below the cursor and insert text, repeat [count] times
OBegin a new line above the cursor and insert text, repeat [count] times

Leave a Reply

Your email address will not be published. Required fields are marked *