VIM Find And Replace All Text Substitute Command
In Vim, you can use the :%s/old-text/new-text/g command to replace all occurrences of “old-text” with “new-text” in the entire file. Here’s a breakdown of the command: : – begins a Vim command line % – represents all lines in the file s – stands for substitute old-text – the text you want to replace new-text … Read more