I’m working on a [web] project that is involving a lot of Search and Replace.
I love the usability of the History for Sublime’s Search & Replace fields, saved me a lot of time. I had a common requirement to Search & Replace the same pairs over many documents (though not automatically, it had to be ad hoc as the situation would determine if the Replace would go ahead) – so I wrote a little AHK script to manage that for me; but in thinking it through, I thought Sublime would really benefit from a few changes:
-
A toggle to keep Search & Replace pairs together
. So when you navigate through the Search history, the Replace text would change to the text used for that replace. -
Filter to unique entries
. At the moment there can be many texts that are the same (so a little wasteful, as it uses slots unnecessarily - not sure what the limit is?) -
Project History
: I’ve only been working in the one project, but I could imagine that it would be extremely helpful if that history was saved with the project.