About

Posted October 16, 2006
← Go to home page
← See all articles

Ads

Article

How I use TextMate

After switching from TextWrangler sometime last year, I very quickly adopted TextMate as my text editor of choice. From the moment I saw its clean UI, intelligent shortcuts, and elegant Projects implementation I was hooked.

I’ve been using TextMate daily — to write code, emails, blog posts, shopping lists, etc — for over a year now. So it should come as no surprise that I’ve customized my work environment and refined my processes to take advantage of TextMate’s remarkable flexibility.

Here’s how I’m set up.

ProjectLand

When you’re working in a TextMate Project, you can:

Most times I just drag a folder onto TextMate. This creates a temporary project with all of the usual benefits except one (that I know of) — TextMate won’t remember where you were if you don’t save your project.

So for my “everyday” projects (FeedBurner) I work out of saved .tmproj files. That way TextMate always remembers which files I had open when I come back after restarting or logging out.

Bundles

TextMate comes with a great group of Bundles installed by default. The HTML, CSS, Javascript, and Markdown bundles get a workout in my environment. I’ve made a few key changes to bundles that I can’t live with out:

Keyboard Shorcuts

Bundles and projects and snippets and transformations are cool, but not if you can’t intuitively access these commands while you work. I’ve strayed from TextMate defaults and set up a group of custom keyboard shortcuts that work really well for me.

My shortcuts are all based around Apple-Option (you’ll see in a second). For whatever reason, I’ve always found the Apple-Option combination a really easy one for me — probably because I can hit both keys with my thumb.

I set up my core keyboard shortcuts like so:

Fits like a glove

From day one, TextMate has fit my brain like a glove. Some say I’m obsessed… I prefer passionate.

Any TextMate fans out there?