I have been using `find` with `consult-find`, but it’s a bit slow. I’m wondering if it would be possible to speed it up using some other tool such as `fd`. I noticed that the consult README talks about `consult-fd` but I cannot locate that function anywhere in my version which is I think the latest `0.35`. Can anyone help with this?

Also, similarly, consult-grep is a bit slow. Wondering if one can swap in `ag` for example?

  • 7890yuiop@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    In general, if the alternative tools use the same CLI options (at least for Emacs’ purposes) and produce the same output format as the original tools, there would be no reason why you couldn’t swap out one for the other in the elisp code (or, quite likely, set a variable for the location of that original program to instead point to the alternative).

    If those things are not true, it may be necessary to support them explicitly in the lisp code.