Vi (Improved) (1)

Grepping with Vim

Of the many productivity-enhancing features that Vim has, one the the best for making similar changes to many files is grep, or vimgrep. This handy little tool will, from within vim, tell you how many files match your pattern, and then proceed to take you to each match, regardless of which file it occurs in. Sure, for straight /pattern/replacement/ text, there's nothing like sed -i, but if you've got to make changes which are similar or to similar areas but not the same, then vimgrep is your friend. To invoke this, you have two basic options. From the command line:

Syndicate content
Search Engine Optimization