Vim: Command-Line Mode
Command-Line Mode is activated by pressing ':' and is used for executing commands that affect the entire file or environment.
| Command | Description |
|---|---|
:w | Save the file. |
:q | Quit Vim. |
:wq | Save and quit. |
:q! | Quit without saving changes. |
:set number | Show line numbers. |