Vim What?CommandsQ
Q

The Q command in Vim

Command

ex mode

Enter Ex mode — each line is executed as a command-line command. Type visual to return to Normal mode. Note: gq{motion} (format/wrap text) and @q (replay macro) are more commonly used in practice. Many configs remap Q to @q.
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