TextMate book

Last week, a copy of TextMate: Power Editing for the Mac landed on my desk. TextMate has been a part of my life for about a year now. I can’t be doing without it (“Edit in TextMate” is worth the price of entry alone). I consider myself a reasonably advanced user.

Boy, was I wrong. From the very beginning of the book, I was getting something new off of each page. Not necessarily earth shattering, but a drip, drip, drip of new knowledge about textmate and how it works. By the end of the chapters on Editing, I felt hugely more confident about using the abilities of TextMate to the full.

The book is split into three main sections: Editing, Automations and Languages. Editing is well, editing. Do it hard, do it fast. The Automations section takes you to the next level, and lets you customize TextMate to your own unique workflow. From the simple snippet to the do-anything command, it really shows you how to take control.

What I particularly love about TextMate is that unlike vim or Emacs, it doesn’t have an extension language. Instead, you get to use Ruby, or Perl, or /bin/sh. You could use PHP if you prefer. In many ways it feels far more “Unixy” than either vi or Emacs. In fact, it’s much more like sam.

The final section, Languages, should rarely be needed. TextMate comes with builtin support plenty of languages (and many more are available). But when you need it, you really need it. James Gray manages to walk through the process of adding a simple language (JSON) in a very effective manner, showing you what’s possible in a succinct manner.

In fact, succinctness is present throughout this book. The text is clear and informative, never taking too long to explain, but not leaving you confused either. And at 200 pages, it’s nice slim tome. You could get through it in a couple of hours, but don’t worry—you’ll be coming back to it.

If you edit text on the Mac, do yourself a favour and get this book.

Comments 3

  1. Neil Ford wrote:

    I got the TextMate book this week having only really discovered the app a week or so before. I have to agree, the book is an absolute gem.

    TextMate is now my editor of choice. I may rapidly become a TextMate bore.

    – Neil.

    Posted 16 Mar 2007 at 08:15
  2. Mark Fowler wrote:

    Okay, you’ve convinced me. I’ve stuck it on the “Order Books” page on the office wiki and now all I have to do is wait for it to turn up.

    Posted 16 Mar 2007 at 09:49
  3. Dominic Mitchell wrote:

    Neil – Being an Emacs bore is so last century, I had to move on. :)

    Posted 16 Mar 2007 at 09:51