Speaking of vi(m) tips, I’m quite fond of search and replace from within vi. The syntax is very similar to sed’s search and replace, and uses regex the same way. To do a simple replacement of all instances of “snoogins” with “snoochieboochies” you would want to type this while in command mode.
:%s/snoogins/snoochieboochies/g
Like sed, the separateor does not have to be “/”. Whatever character you type after the s becomes the separator. This can be handy when you want to replace slashes without having to escape them:
Tags: search-and-replace snoogins vi vim:%s~/and/some/for/a/few~/and/one/for/all~g