-
-
Notifications
You must be signed in to change notification settings - Fork 335
Description
When I move through swiper matches I would like hidden text to be revealed so that I can actually see the context of the current match. It appears only the final match is ever revealed once the search is exited.
I dug around a bit and found swiper--ensure-visible, called in swiper--action. As a quick hack I added (with-ivy-window (swiper--ensure-visible)) to ivy-set-index, so that this would be done on every ivy-{next,prevous}-line. Of course that should only be done when actually using swiper, and probably not here, but as a temporary solution it might have worked. However while some revealing did happen once I had done that I ended up having to move down two matches and then one match up again to reveal that first match.
I was actually kinda surprised that automatic revealing doesn't work out of the box. And maybe I am just overlooking something, but searching the source for the relevant terms such as "reveal" and "invisible" didn't, uhm, reveal much.