rg.el
rg.el copied to clipboard
Refine search
I wonder whether it is possible to refine the search, that is, run another regex search on the rg
buffer using only files that resulted from the previous search?
No, not possible, I am afraid.
I suppose I could use rg-file-message
to get the current file list (as you suggested in #109) and use that to run a new rg
search on those files only.
I am just wondering wouldn't this be something people do quite often? This doesn't seem to be part of other grepping tools either in Emacs.
Maybe, I wouldn't know. Probably something I would not add the package unless there is high demand.