Run Ex commands such as write, quit, and substitutions.

Section: Core modes

Enter command-line mode

vim
vim
:
Explanation

The `:` prompt is used for Ex commands, ranges, help, file actions, and substitutions.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Core modes
Enter insert mode
Start typing before or after the cursor.
OpenIn sheetvimsame section
Return to normal mode
Leave insert or visual mode.
OpenIn sheetvimsame section
Move with home-row keys
Navigate left, down, up, and right.
OpenIn sheetvim1 tag match
Half-page scrolling
Scroll quickly without losing context.
OpenIn sheetvim1 tag match
Move by words
Jump by word starts and ends.
OpenIn sheetvim1 tag match
Center current line
Recenter the viewport around the cursor line.
OpenIn sheetvim1 tag match