With one command you can automatically replace a word (or a string of ... In a global replacement, the ex editor checks each line of a file for a given pattern of characters. ... The combination of the vi commands n (repeat last search) and dot (.) ...