It’s been covered here on TAB before, but not enough praise can be given to my text editor of choice, TextMate, which garners much appeal for its built-in extensibility thanks to Ruby. With that flexibility, though, comes a small feeling of overwhelming panic, like being five miles out in the ocean with nothing but a pair of water wings. Trying to wade through all its features without any guidance beyond developer Allan Odgaard’s in-program documentation is meshuga.
Fortunately for all of us, James Edward Gray II’s book TextMate: Power Editing for the Mac does a bang-up job of making even the most advanced TextMate functions accessible. Gray begins with simple topics like navigating the editing window, creating projects, and easy keystrokes — copy, paste, select all, etc. He wisely instructs his readers early in the book to learn keystrokes for as many commands as possible, but, at the same time, not to fill their memory with the lesser used ones at the expense of the others. Depending on the bundles one has active, TextMate could have as many as several hundred keystroke sequences available at any given time.
Before long, Gray moves into automation: what TextMate does best. Beginning with an introduction to some of the built-in bundles and how to use them, he soon shows us how to define snippets: blocks of text or programming code or bloggery that are automatically inserted whenever a given trigger is activated, like a built-in version of TextExpander, only more powerful.
From there, Gray does an excellent job of leading into macros, bundle editing, the built-in support tools, calling UNIX commands and Ruby scripts, and theme customization. TextMate doesn’t have a bundle for groff? Gray will show you how to build one.
While TextMate: Power Editing for the Mac doesn’t cover every aspect of TextMate, for less than 200 pages it is extremely efficient in providing readers with everything they need to know to accomplish approximately 99 percent of the tasks that TextMate can perform. The other one percent? You’ll just have to ask around on the TextMate community forum.
The old vi versus emacs text editor holy wars are still alive on the Mac in the form of BBEdit versus TextMate, and while TextMate has been called “emacs meets the Mac,” I was a staunch vim user until I met TextMate. I still keep vim around, but it’s collecting a lot of dust — especially since I read Gray’s excellent book that helped me develop all the snippets and keystroke preferences I needed in TextMate.
TextMate: Power Editing for the Mac retails for $29.95 USD / $41.95 CDN / £20.99 GBP / €29,00 EUR.?