Vim What?Commandsq
q

The q command in Vim

Command

record macro

Record a macro into register {a-z}. Press q again to stop recording. Replay with @{reg}. Use @@ to repeat the last macro.
Examples

Reference

Official Vim help for q

Learn every Vim command visually — right in your browser.

Add Vim What? to Chrome — Free

Also on Firefox.

Related commands