In case you’re a Swiper user and missed it in yesterday’s Languages for Text Processing Post, akirakom’s Emacs subreddit post contained a tip for using Swiper. In the middle of a Swiper search you can type Meta+q to start a query-replace
.
I couldn’t find that anywhere in the documentation but you can see the doc string by pulling up the documentation for swiper-query-replace
. The code is here but it basically just asks for the replacement string and calls perform-replace
just as query-replace
does.