Saturday, April 25, 2009

vim + grep = visual grep

Trick I'm using quite often and is worth mentioning:

vi -c ":grep -r something files_or_dirs"

That would start VIM and tell it to run grep right after that. Very convenient.

No comments: