Similarly to find and replace all in Microsoft products, you can use :\%s to search and replace in the vi editor. Practically, to search for gobbledygook and replace it with balderdash in your file, first hit escape before typing :\%s/gobbledygood/balderdash/g and hitting enter. The g makes it global (meaning every instance is changed).