Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Commands
Vim / Neovim
Editors & build tools
Vim / Neovim Commands
Modal text editors.
All Vim / Neovim pages
Vim search and replace: :%s/old/new/g and its flags
Replace text in Vim with :%s/old/new/g; add c to confirm each change and i to ignore case, limit it to a range or a selection, and match whole words only.
Esc