Everyone knows you can repeat the last I-search with C-s C-s, but that doesn't preserve all the parameters from the last search. As a concrete example, I often use symbol I-search (M-s _), and typing M-s _ C-s is a fair bit cumbersome when going through a lot of matches.
It would be nice if C-s C-s could see if the last I-search was a symbol search and reactivate that. Similar things can of course be said for other I-search states, like regex searches (though that isn't quite as cumbersome to do manually to begin with).
Is there a way to do this with the existing I-search implementation, or will I have to write it myself?