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.
Use gn to build up repeatable operations on searched patterns.
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