Icicles allows you to do this. With the help of Search for Socals, you can navigate between search images (by the set of found buffers or files).
You can cycle through the search images, but you do not need to cycle through. You can visit any hits you have chosen in any order. You can dynamically filter hits by typing a filter template that you can change on the fly.
You can combine several of these dynamic filters using a few simple patterns instead of more complex ones. Pattern comparisons can use apropos (regex) or any of several kinds of fuzzy . You can also filter disabling dynamic matches by subtracting them from the current wider set of matches.
You can even search, not the search contexts that you defined at the beginning of the search, but their complement .
(A search in Icicles allows you to define contexts for a search — for example, only function definitions or only comments. Other text is ignored (no search is performed). The simplest example is buffer strings as search contexts. String search contexts are what grep uses, occur and icicle-occur .)
You can also replace individual search queries or parts of them that match your current input pattern, on demand, without exiting the search icicles. And you can change the replacement text at any time during the search, on request.
In the limited sense of such a replacement, you can thus not only visit the found buffers, but also edit them without leaving the search.
Drew
source share