vim
Verified for current stable LTS
Vim Commands
Vim command syntax with verified terminal examples.
Commands
8 commands for Vim
vim Operations
Vim Command: Display Line Numbers Vim
<:>set nu<Enter> vim Operations
Vim Command: Open File At Line Number Vim
vim +<line_number> <path/to/file> vim Operations
Vim Command: Open File Vim
vim <path/to/file> vim Search
Vim Command: Regex Substitution Whole File Vim
<:>%s/<regex>/<replacement>/g<Enter> vim Operations
Vim Command: Save And Quit Buffer Vim
{<Esc><Z><Z>|<Esc><:>x<Enter>|<Esc><:>wq<Enter>} vim Search
Vim Command: Search Pattern In File Vim
</><search_pattern><Enter> vim Operations
Vim Command: Undo Last Operation Normal Mode Vim
<Esc><u> vim Operations
Vim Command: View Help Manual Vim
<:>help<Enter> Suggest a Vim Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Vim workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.