Execute a command without leaving the editor.
Section: Ex command-line essentials
Run a shell command
vim
vim
:!lsExplanation
Useful for quick file, git, and build checks.
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 Ex command-line essentials
Insert shell output into buffer
Read command output below the cursor line.
Look up special key notation
Search for control-key topics and special commands.