linux vim replace all strings code example Example: linux vim replace all %s/{the word you want to find}/{word to replaced with }/gc