reddit / emacs

Sample Vertico, Marginalia and Orderless configuration

FluentFelicity · 2022-02-22 10:15
I have posted my configuration for [Vertico, Marginalia, Orderless](https://kristofferbalintona.me/2022-02-21-emacs/). These packages are already well-documented and commonly discussed, but I'd thought I'd share my configuration anyway. I think the most useful part for those already in the know-how will be my configuration of Vertico's "extensions," which I haven't seen much coverage on. Edit: Added section for the `all-the-icons-completion` package. Also added complementary images and gifs
nathanmcunha · 2022-02-22 11:36
I read briefly and the explanation is really good.I was looking for this kind of material to setup my vertico.
nathanmcunha · 2022-02-22 11:37
I'll try this in my doom emacs config
shizzy0 · 2022-02-22 17:17
It’d be great to see some kind of screenshots or short gifs that illustrate what your screen looks like because of this configuration.
Ghosty141 · 2022-02-22 21:11
This is great! I wasn't too happy with helm and ivy but this is exactly what I wanted. Thanks for showing in a short way what these packages are and why they are so good.
FluentFelicity · 2022-02-22 21:13
Good idea. Just added some :)
shizzy0 · 2022-02-22 21:55
Oh no. It’s 404ing.
FluentFelicity · 2022-02-22 21:57
Yeah, just realized. I'm doing some stuff behind the scenes so it might be a few minutes until I fix it. Sorry!
FluentFelicity · 2022-02-22 22:28
Should be good now!
FluentFelicity · 2022-02-23 01:36
Let me know how it goes, and if you run into any troubles :)
yep808 · 2022-02-23 01:57
Awesome post, I've been using ivy/counsel for quite a while now. Been hearing lots of great things about these new kids on the block. I might try it out soon.
FluentFelicity · 2022-02-23 02:27
Awesome! If you do, try to reply back and let me know what you think
MistakeNotDotDotDot · 2022-02-23 03:30
Oh wow, I had no clue `marginalia` existed. This is *great*.
JDRiverRun · 2022-02-23 04:23
You might try (and maybe add) [corfu](https://github.com/minad/corfu), from the maker of vertico and marginalia. Corfu is to company what vertico is to ivy/helm. Among other features, it allows you to use orderless filtering *in the buffer*.
FluentFelicity · 2022-02-23 04:24
Yes! I intend to cover corfu, kind-icon, and corfu-doc in my next blog post. Then, in the final post in this mini-series, I'm going to go over cape, which I emphatically endorse. Thank you for the suggestion though :)
AffectionateAd8985 · 2022-02-23 05:34
I've been using vertico+marginalia, the docstring shown by marginalia is very informative, can we make vertico match against that docstring?
FluentFelicity · 2022-02-23 05:36
To my knowledge, unfortunately not. The text from marginalia isn't actually text in the minibuffer I believe — its "annotation" system is separate.
JDRiverRun · 2022-02-23 14:52
Excellent, thanks. Be sure to check out the most recent version of corfu (0.19), which has greatly improved the use of orderless in buffer (`M-SPC` and off you go).
JDRiverRun · 2022-02-23 15:02
If you use embark, you can embark-act (`C-'` for me) in the minibuffer with whatever filters in place, collect a `S`napshot or `e`xport (e.g. to a dired buffer), then you get a buffer you can search and act in. Or even use something like `consult-focus` on that buffer to instantly narrow down to whatever info you want.
vladovidiu · 2022-02-23 19:30
OP, I think the images for `vertico-flat` and `vertico-buffer` should be swapped. Great article, looking to implement some of it into my config. Also, look forward to your corfu article.
FluentFelicity · 2022-02-23 20:01
Yes, good catch! Just fixed it. Glad you enjoyed reading