Replace text within a selection.
Lots of times when using textmate you’ll find that you want to replace characters within a selected area and not the whole document. If this is the case make the selection of the text you want to replace within, then use cmd-f and launch the find/replace panel. Now, type the text you want to find and replace, then hold down the option/alt key and notice the “replace” changes to “in selection”. Bingo you’re done!

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.









Good call. This is a good one. I use it if somewhere down the line of development I change a set of classes, URIs, or something similar but don’t need to change every instance of the phrase or word in the document.
