Sometimes I do a search with swiper and navigate to a location in the code that seems like what I was searching for, only to find it wasn't. This is more common with a symbol name that is a little too generic.
I'd like to simply restart the search, but I have to type the full symbol again.
I could copy/yank the symbol, which would be fine, but even that could be automated, as in: "search for thing under point." I'd probably want that too, but first thing: I'd just like to repeat the previous search.
How can I do that without having to re-type the criteria? Or have swiper remember the last search?
M-p
?M-p
.C-s
after calling swiper - without input - will bring the last item in history too.