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
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=pathin 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