Swiper-isearch

Abo-abo has added a new function to the swiper suite that fixes a couple of problems with swiper. The new function, swiper-isearch, acts more like isearch. The first thing you’ll notice is that multiple matches on a single line are treated as individual candidates as with isearch. You no longer have to use Ctrl+ to choose the desired entry (although Ctrl+ still works).

The second change is that an external process is longer called to process large buffers. Follow the “swiper-isearch” link above to see all the details.

Abo-abo likes the new function enough that he is using it for his default search mechanism. I’m being a bit more conservative—since I just updated swiper today—and have bound swiper-isearch to Ctrl+Hyper+s. So far, though, I like it a lot although I’ve only really used it in tests, not in my actual workflow. If, after a little more experience, I still like it, I’ll swap the bindings for swiper and swiper-isearch.

If you’re not already using swiper, you’re missing out. I recommend it without hesitation—it will improve your searching immensely. If you are a swiper user, check out swiper-isearch. The new swiper library is already in Melpa so you need only update your packages to get it.

This entry was posted in General and tagged . Bookmark the permalink.