Skip to content

Sort the results #151

@bestlem

Description

@bestlem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions