How to Vim: Alternative Approach to Find and Replace
The classic way to do “find and replace” in Vim is pretty well known: :%s/target/replacement/gc This will replace all instances of target in the current buffer (that’s what the % is about) with ...