I’m happy to see that a search exists to dig into commits using contents:
as of
however I’m not aware of any way to search through just the staged or not staged stuff that has not yet been committed.
A simple use case for this is that I like to use Sublime Merge to work through committing whole files, chunks, or lines with a manual review of the changes and setting things as staged that should go and leaving debug or testing stuff that was missed as un-staged. Unfortunately, at the moment I don’t see any way to search for matching text to expedite this review process. I don’t expect any editing behavior to be allowed, just read-only searching.
So does anything like this exist? If not I would like to propose it as a feature request.