Skip to content

Instantly share code, notes, and snippets.

@ysimonson
Created October 2, 2013 15:38
Show Gist options
  • Save ysimonson/6795714 to your computer and use it in GitHub Desktop.
Save ysimonson/6795714 to your computer and use it in GitHub Desktop.
Search for all files that have foobar using silver searcher, and open them in sublime
ag foobar --files-with-matches | while read filename; do subl $filename; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment