Vim 9 · Macros and settings Run a shell command Run a command and show its output. :!ls -l Official Vim 9 documentation More macros and settings commands Record a macroPlay a macroRepeat the last macroShow line numbersShow relative line numbersUse four spaces for indentation All macros and settings commands · Vim 9 cheatsheet ← Paste without auto-indentInsert a command's output →