How can I edit files directly from find results

Posted by Sergio Tulentsev on Super User See other posts from Super User or by Sergio Tulentsev
Published on 2012-08-28T15:08:46Z Indexed on 2012/08/28 15:41 UTC
Read the original article Hit count: 267

Filed under:

Let's say, I want to replace one string with another. Normally I use TextMate, but today, I don't remember why, I decided to run the search in Sublime Text 2 (which I installed some time ago, but haven't used since).

I was impressed with "Find Results" window, seems more useful that textmate's. Then I tried to edit text right inside that window and (I can swear on my macbook) it worked (I was able to commit those changes to git repo)! I thought then, "Wow, that's a really nice feature. Should I migrate from TM already?". Unfortunately, I wasn't able to reproduce this behaviour later. I can still edit text in "find results" window, but changes don't persist (that is, original files are not touched).

Am I doing something wrong now, or was it caffeine-induced hallucination earlier in the day?

© Super User or respective owner

Related posts about sublime-text-2