reddit / emacs

Make vertico-posframe move to the side so consult previews work nicely

true-lazy-guy 路 2022-12-10 21:13
true-lazy-guy 路 2022-12-10 21:15
Is anyone interested in this as a separate package or be integrated in vertico-posframe? (Contributing to vertico-posframe is not convenient, since requires FSF copyright assignment, but if there is any interest, I can try to)
fk00 路 2022-12-10 22:06
I'm interested. This is really great addition to the vertico.
Likhon-BaRoy 路 2022-12-10 22:44
Wow looking cool! Your config plz馃槉
Both_Mix_5818 路 2022-12-11 02:57
Fairly interested. Would love to give it a go since I was looking for an in-between posframe and buffer methods for vertico.
9182763498761234 路 2022-12-11 09:30
How do you enable the buffer preview for the current vertico selection?
true-lazy-guy 路 2022-12-11 10:10
That is consult: https://github.com/minad/consult
true-lazy-guy 路 2022-12-11 10:22
Here is the ugly config with some corners cut: [https://gist.github.com/lazy/3f3a1eff443adf5c1a4630055b5a5f6e](https://gist.github.com/lazy/3f3a1eff443adf5c1a4630055b5a5f6e) ​ Working on turning this into reusable package + making it somewhat configurable. But you may try using this thin as is for now, in my experience it is fine as is.
true-lazy-guy 路 2022-12-11 10:22
Here is the ugly config with some corners cut: https://gist.github.com/lazy/3f3a1eff443adf5c1a4630055b5a5f6e Working on turning this into reusable package + making it somewhat configurable.
true-lazy-guy 路 2022-12-11 10:23
Here is the ugly config with some corners cut: https://gist.github.com/lazy/3f3a1eff443adf5c1a4630055b5a5f6e Working on turning this into reusable package + making it somewhat configurable. But you may try using this thin as is for now, in my experience it is fine as is.
Likhon-BaRoy 路 2022-12-11 10:26
Thanks!
Trout_Tickler 路 2022-12-11 10:28
It's a simple exchange of 2 emails and signing a document. Makes more sense to be upstream
true-lazy-guy 路 2022-12-11 10:30
I generally agree. But I need to get an approval from my employer, I am on a pretty strict contract.
Trout_Tickler 路 2022-12-11 10:32
I see, good luck with it then
alecStewart1 路 2022-12-11 22:24
Hey, you use pulse.el, too! I'm assuming you created your own version of `pulse-momentary-line` (I'm too lazy to do that lol)?
true-lazy-guy 路 2022-12-12 12:52
That is actually beacon-mode. (with beacon on scrolling disabled since it triggers some bugs for me). I do use pulse to highlight the touched region after come commands (post yank, kill-ring-save, indent-region etc).