Vim 9 cheatsheet

Vim 9: Modes

7 common Vim 9 tasks.

Insert before the cursor

Start typing at the cursor position.

i

Insert after the cursor

Start typing after the cursor.

a

Append at the end of the line

Move to the end of the line and start typing.

A

Insert at the start of the line

Move to the first non-blank character and start typing.

I

Open a new line below

Add an empty line under the current one and start typing.

o

Open a new line above

Add an empty line over the current one and start typing.

O

Return to normal mode

Leave insert or visual mode. Ctrl-[ does the same.

Esc

Was this page helpful?