My TextMate Bundles, Commands, Macros, etc...
Ahhh TextMate, how I love thee.
This is just a quick post to share a couple of handy TextMate commands.
Balance Jr textmate thinggy
You place your caret inside something and the macro will select everything in between enclosing characters. It’s kinda like the balance command, except it grabs everything INSIDE the characters, but not the characters themselves.
It works with:
/* word */,
<% word %>,
<%= word %>,
<%# word %>,
<%@ word %>,
comma separated values,
and probably more, but I forget now.
If you want to select the
paragraph text section of the following HTML, place your caret somewhere in the text and hit the macro. It’ll select everything between the
<p class="blah"> paragraph text </p>
Here’s all the
All these files are
I have them in my personal TextMate folder All my TextMate stuff is now being hosted in SVN at https://textmate.svn.subtlegradient.com/. Enjoy!
Back to a regular folder. Blaaarrgghhh!
These linked files are now ZIPs, yet again. But Safari will auto un-zip them for you to just double click on in your downloads panel.
- This is the one with the Balance JR commands.
- Prototype and Scriptaculous.tmbundle
- To be able to use my additions to the prototype bundle, you’ll need to have the original Prototype Bundle from encytemedia.
That’s all. It’s been a pleasure, as always!