Making small changes
Use r to replace a single character in Vim.
Use any delimiter in your regular expression to avoid escaping slashes.
Use Vim’s global command to print substitutions when replacing.
Find the next match and change it in Vim. Using Vim’s search next feature with gn, you can quickly build repeatable changes.
Use the /c flag to confirm each replacement when substituting.
Use the args list to globally replace across files without plugins.
Vim has several useful ways to repeat the last substitution.
Match more accurate patterns by using non-greedy matching.
Search faster in Vim with an improved workflow