minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.12k stars 98 forks source link

How do I use `consult-line` (with live previews) with `ivy`? #944

Closed NightMachinery closed 2 months ago

NightMachinery commented 2 months ago

How do I use consult-line (with live previews) with ivy?

Alternatively, if that's not supported, how do I use consult-line with, e.g., vertico, but only for this specific command?

I have most of my config using ivy and counsel, so I can't switch my defaults. I have no problems with simultaneously using both ivy and another completion framework.

PS: I know of swiper, counsel-grep etc. I don' know of a counsel-rg variant for the current file though; its default version searches the current dir.