Vim Command to Replace a String
Selected Section: :s/find/replace/g
Vim uses regular expressions to find and replace strings.
Global: :%s/find/replace/g
Vim can even replace every occurrence at once.
Selected Section: :s/find/replace/g
Vim uses regular expressions to find and replace strings.
Global: :%s/find/replace/g
Vim can even replace every occurrence at once.