I've got a "oneline" script in my ``~/bin/`` folder that I use when I want to edit many files that contain some text pattern in emacs. ``ag`` is the silver searcher, ``-l`` outputs the matching file names only.