vim editor command to replace a word in visual mode code example Example: linux vim replace all %s/{the word you want to find}/{word to replaced with }/gc