small medium large xlarge

TextMate: Power Editing for the Mac


Cover image for TextMate


Power Editing for the Mac


TextMate is a powerful tool for programmers, web designers, and anyone else who regularly needs to work with text files on Mac OS X. TextMate focuses on pragmatic automation, which means it will save you time—time that’s always in short supply. See how your lowly text editor can become a hard working member of your staff.

About this Title

Pages: 208
Published: 2007-01-01
Release: P2.0 (2009-09-11)
ISBN: 978-0-9787-3923-2

TextMate is a full-featured text editor available for Mac OS X that can greatly enhance your text manipulation skills. TextMate is actually a thin shell over a personalized team of robot ninjas ready to do your bidding. Let’s face it, who doesn’t want their very own team of robot ninjas?

With TextMate you can do your normal work, but signal the ever-watchful ninjas as you go. At your command, they will launch into action, slicing through text, building repetitive structures of data in the blink of an eye, and much more. They will even post to your blog, handle your IRC conversations, and read your email.

Inside this book you will learn how to teleport instantly to the exact line of the file you need to be on, edit the data with the briefest incantations of power, and banish the end result to the land of your choosing. It’s magic, as you can plainly see.

Leave the days of dull work behind. Learn your spells, gain access to your team of robot ninjas, and you too will be able to edit text so effortlessly that everyone watching over your shoulder will be forced to ask, “Wait, how did you do that?”

  • The editor for Rails.
  • Use built-in automations for HTML, Ruby, or over 30 other languages
  • Manage all the files in your projects
  • Fly through your files with easy navigation techniques
  • Master quick and dirty text editing with strong regular expression integration
  • Teach TextMate new languages and actions that will save you time.

Read the reviews .

Contents & Extracts

  • Introduction
  • Editing
    • Working with Projects
    • Power Editing
    • Find and Replace
  • Automations
    • Built-in Automations (extract)
    • Snippets
    • Macros
    • Commands
    • Automation Tips and Tricks (extract)
  • Languages and Themes
    • Language Grammars
    • Preferences and Themes
  • Beyond This Book


James Gray is a contract programmer in Oklahoma. He works for multiple clients doing all manner of work with Ruby. He also builds Rails sites for HighGroove Studios. Lately, James has been busy writing books, including the critically acclaimed Best of Ruby Quiz. James works closely with the TextMate development team and helps to maintain TextMate’s Ruby integration.