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