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

Sort the results #151

Open
bestlem opened this issue Jun 11, 2024 · 0 comments
Open

Sort the results #151

bestlem opened this issue Jun 11, 2024 · 0 comments

Comments

@bestlem
Copy link

bestlem commented Jun 11, 2024

I often do a search over a largish tree of directories and would like at least for the entries from a directory to be next to each other in the results.

I have managed to do this by setting --sort=path in my ripgreprc file. (and altered deadgrep-extra-arguments)
However this does slow things down as the sort makes rg single threaded.

It would be helpful if deadgrep gave an option to sort or not.
This was mentioned in #105 but lost in the other point being made there.

I realise that putting more switches on the screen gets too unwieldy and rg has many options but perhaps allow some way of altering the command line for different runs not just the one global deadgrep-extra-arguments

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