Hot answers tagged


The command you are trying to use is the following: %s/\/\//\//g % The range: All lines in buffer s the substitution command / / / the separators of the substitution command \/\/ in the matching pattern you need to escape both slashes \/ you also need to escape the slash in the replacement string ...

Only top voted, non community-wiki answers of a minimum length are eligible