this post was submitted on 22 Oct 2023
5 points (100.0% liked)

Emacs

311 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (2 children)

I find consult-ripgrep to be excellent for this.

[–] [email protected] 1 points 1 year ago (1 children)

Same. Consult in general has a bunch of great utility functions that are well integrated with the Emacs core.

I'm looking into dropping Vertico after I upgrade to 29. It's almost incredible that Minad's user focus and humility make that a potentially reasonable option, and I really appreciate the fantastically sound design of his completion ecosystem.

[–] [email protected] 1 points 1 year ago (1 children)

I'm looking into dropping Vertico after I upgrade to 29. It's almost incredible that Minad's user focus and humility make that a potentially reasonable option, and I really appreciate the fantastically sound design of his completion ecosystem.

What do you mean? Vertico is a library that provides a UI for displaying completions; Consult is a library that provides commands to select items with completion. The two libraries complement each other.

[–] [email protected] 1 points 1 year ago (1 children)

I think GP agrees with you and meant keeping Consult while dropping Vertico (which is possible due since Consult works with icomplete and with default completion).

[–] [email protected] 1 points 1 year ago (1 children)

Yes, so how does Consult relate to not using Vertico anymore?

[–] [email protected] 1 points 1 year ago

I think it is unrelated, except in that you can because Consult also works with completion UIs other than Vertico. I'm not sure why he or she mentioned it. 🤷

[–] [email protected] 1 points 1 year ago

You have to use emacs regexps though, Both complement each other.

[–] [email protected] 1 points 1 year ago (2 children)
[–] [email protected] 1 points 1 year ago

Deadgrep's author has a comparison of you haven't seen it: https://github.com/Wilfred/deadgrep/blob/master/docs/ALTERNATIVES.md#rgel

[–] [email protected] 1 points 1 year ago

More or less both provide the same experience.

[–] [email protected] 1 points 1 year ago

Any mention of code search should probably include the built-in project-find-regexp.

[–] [email protected] 1 points 1 year ago

Nice blog, thanks for posting.