open matching in vim

To open in vim all files matching a regex:

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

Leave a Reply

Your email address will not be published. Required fields are marked *