Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine search #110

Open
ghost opened this issue Dec 20, 2020 · 4 comments
Open

Refine search #110

ghost opened this issue Dec 20, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 20, 2020

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?

@dajva
Copy link
Owner

dajva commented Dec 26, 2020

No, not possible, I am afraid.

@ghost
Copy link
Author

ghost commented Jan 3, 2021

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.

@ghost
Copy link
Author

ghost commented Jan 3, 2021

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.

@dajva
Copy link
Owner

dajva commented Jan 13, 2021

Maybe, I wouldn't know. Probably something I would not add the package unless there is high demand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant