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?
https://github.com/minad/consult#grep-and-find
See
consult-fd
andconsult-ripgrep
I do see a
consult-fd
in 0.35. But otherwise, you might try changingconsult-find-args
to point to fd instead of find.For faster grep, I’ve been using
consult-ripgrep
. For me, ripgrep has been faster thanag
.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.