open matching in vim

April 18th, 2011 § 0 comments

To open in vim all files matching a regex:

$ grep -l foo ./* | xargs vim -p

What's this?

You are currently reading open matching in vim at Dan O'Huiginn.

meta