vim tutorial – using the s command to replace text on the fly

The vim text editor comes with a powerful :s (substitution) command that is more versatile and expressive than the search and replace functionality found in GUI based text editors. The general form of the command is: :[g][address]s/search-string/replace-string[/option] The… Read More