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

Emacs

313 readers
3 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
[–] github-alphapapa@alien.top 2 points 1 year ago

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

[–] BeetleB@alien.top 1 points 1 year ago (2 children)
[–] josephkain@alien.top 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

[–] ricZola@alien.top 1 points 1 year ago

More or less both provide the same experience.

[–] Falcomomo@alien.top 1 points 1 year ago

Nice blog, thanks for posting.

[–] jvillasante@alien.top 1 points 1 year ago (2 children)

I find consult-ripgrep to be excellent for this.

[–] Kwisacks@alien.top 1 points 1 year ago

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

[–] uita23@alien.top 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.

[–] github-alphapapa@alien.top 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.

[–] oantolin@alien.top 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).

[–] github-alphapapa@alien.top 1 points 1 year ago (1 children)

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

[–] oantolin@alien.top 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. 🤷