Wouldn't it be cool if it?...oh wait.. it already does 11
Working into the evening on a client project (been sick and trying to play catchup) and was chatting with Allison about working in views and dummy text. I said, “Just make that a shortcut in TextMate.”
Then I thought, “I can’t be the first person to think of that.”
...as I type, lorem [tab]
Figures. Lorem ipsum generator… in TextMate. Why didn’t I know about this before?
So, I ask all of you… what’s your favorite TextMate trick?
Lately… I’ve been enjoying running single spec files with [apple]-r.
Enjoying the content? Be sure to subscribe to my RSS feed.





Good find… I can’t say I’m surprised it’s there, but I kinda am.
I like using TextMate for getting a quick
My favourite trick recently is a Ruby script that reads a C file from TextMate and parses comments for “args: foo blah” and “cc: gcc -Wall …” lines. It defaults to a basic gcc command and empty args. It’s good for quick C files, e.g. the examples in the K&R book. It saves the source in a temp location so anything with #include “something.h” won’t work. No need for a shell, just the familiar Cmd-R.
A less than sign ate half my comment. :/ I’m going to sleep.
Too many to mention, TextMate rocks. Anyway latest trick is ctrl-left/right, which is like option except it moves/selects underscored_word_parts and CamelCasesToo.
I love the html generator … when i write RoR code the worst part is write html files … but with Textmate it’s so fast! :)
Your lorem[tab] is in text bundle … you can also try c)[tab] (for add copyright line) ... i LOVE Textmate :)
My favourite is [ctrl][shift]< while i’m writing RoR code it generates <= %> or <- -> or < %> :)
Another useful tip is using the enter key in comments to start a new comment line. Works in the middle of a line too.
I like to indulge in a nice pizza pie while coding sometimes. I set textmate up to show me all the local pizza joints in my area.
“pizza[tab]” = displays pizza joint name and phone.
Great tip! My favourite TextMate tip has got to be Ctrl-S for quick searching through a document.
Is it wrong to love a piece of software?
hold OPTION and use the mouse to select text columns. you can delete the characters or replace them in bulk = nice!
SHIFT+CMD+t to search through the method names in a ruby file (think that one’s in the SyncPeople rails bundle)
i mostly use textmate to write C/C++ for school projects. i absolutely love the “once” tab trigger. it is a thing of beauty.
ed: SHIFT+CMD+T works in any language, afaik
I’ve always been a fan of cut line – ctrl+shift+K paste bundle buffer – ctrl+y