or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Textmate: Power Editing for the Mac (Pragmatic Programmers)
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Textmate: Power Editing for the Mac (Pragmatic Programmers) [Paperback]

James Edward Gray II (Author)
4.8 out of 5 stars  See all reviews (14 customer reviews)

List Price: $29.95
Price: $19.87 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.08 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 7 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Book Description

Pragmatic Programmers March 1, 2007

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.

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?"


Frequently Bought Together

Customers buy this book with Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) $31.81

Textmate: Power Editing for the Mac (Pragmatic Programmers) + Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby)


Product Details

  • Paperback: 200 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (March 1, 2007)
  • Language: English
  • ISBN-10: 097873923X
  • ISBN-13: 978-0978739232
  • Product Dimensions: 8.9 x 7.6 x 0.6 inches
  • Shipping Weight: 15.2 ounces (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #277,688 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (11)
4 star:
 (3)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

20 of 22 people found the following review helpful:
4.0 out of 5 stars A perfect second volume for the manual, March 22, 2007
By 
A Williams "honestpuck" (Neutral Bay, NSW Australia) - See all my reviews
(VINE VOICE)    (REAL NAME)   
This review is from: Textmate: Power Editing for the Mac (Pragmatic Programmers) (Paperback)
About six months ago I switched to using TextMate, a text editor with a clean and well designed interface that hides a great deal of power, replacing both BBEdit and vim. I felt like a baby duck that had been ripped away from its mother, but I was determined to switch to a single editor. I have since become familiar with the power of TextMate and it's extensions. Getting a copy of "TextMate - Power Editing for the Mac" (TPEftM) made me feel like I'd gone from baby duck to Leo DiCaprio, dating a supermodel.

TextMate, like many Mac applications, seems like a simple, easy to use application but underneath the hood it has four types of additions to customize the editing experience - snippets, macros, commands and language grammars - and a method of tying them together into a mode called a bundle. Grammars control syntax colouring, indentation, text folding among other features. TextMate also seems to have been designed from day one to integrate well with Mac OS X and its Unix underpinnings. First, it includes a great command line tool, "mate", that has a couple of neat tricks like automatically creating a project when passed a list of files or a directory name, and a GUI that can easily run shell commands and scripts. TextMate can't give me a list of unique lines in a file but it is trivially easy to pass a selection to 'uniq' and have the results replace the selection, for example.

I don't want to spend half this review describing TextMate, suffice to say that it is an incredibly powerful and conformable editor. The extended features are all well covered by TPEftM.

Taken as a whole this book is a marvelous second volume to the TextMate manual. Though the first section summarizes information covered in the TextMate manual the rest of the book takes a huge leap forward and gives you details on how to get the best from one of the finest text editors it has been my pleasure to use. If you want a well written manual for the advanced and malleable parts of TextMate then this book is pretty good, the details it is missing, such as the plugin API, are covered by the manual and where the manual is thin on detail this book fleshes it out nicely.

It's broken up into three sections, "Editing" which contains three chapters (and the introduction) covering the basics of creating projects and files, moving around, selecting text and find and replace (a nice little regular expresson engine), "Automations" which contains five chapters covering the built in bundles and how to write your own snippets, macros and commands and "Languages" which covers the development of language grammars, preferences and themes.

This is a useful book. It's not a classic, it won't revolutionize your thinking about anything, nor will you learn new coding techniques. It will, however, reward any effort you make towards working through it with a much improved editing experience.

TPEftM is also a hard book, reading it can be almost a chore with the need to digest and try out some fairly complicated topics. TPEftM isn't a great learning aide, it's more a technical manual than a textbook. I wish I could blame the writing but the book is well written and edited, it just has a technical style. At times I thought a lighter touch in the writing would have been good to allay some of the density. It also seems light on examples, while the discussion of each topic is well constructed and understandable a little more attention to the number, length and content of examples would have improved the book's usability.

It is best to give TPEftM a quick read and then use it as a guide to doing some customizing of your TextMate environment. The chapter that I remember well is the one on snippets since I've used the book to guide me in writing several. In fact my first foray into 'programming' TextMate was to alter some snippets in the built-in automation.

The O'Reilly page for the book just contains a book description and some marketing information. For more useful information you can go to the Pragmatic Programmer's page for the book which has a link to download the code, an errata list, a table of contents and links to two excerpts from the book. You can also buy the PDF version or both the PDF and paper versions on the Pragmatic site.

In conclusion this is a great book if you are currently toying with using TextMate as your Mac OS X editor. It is a good book and second manual if you are already a heavy TextMate user and want to know how to get the best out of the programmability of TextMate. So all TextMate users should consider this book a must buy. This is one hunk of extra documentation for TextMate, at only 182 pages it isn't a large book but it is full of information. For your money you'll have an immediately useful book that will take you months to digest.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
5.0 out of 5 stars The Power of Textmate, May 27, 2007
By 
Dave Walz-Burkett (Albuquerque, NM United States) - See all my reviews
This review is from: Textmate: Power Editing for the Mac (Pragmatic Programmers) (Paperback)
This book is the perfect primer for what I have found to be one of the most indispensible Mac OS X applications - TextMate. If you are a software developer or web designer or anyone else that edits text on a frequent basis and you have not already discovered TextMate, stop right now and visit http://www.macromates.com.

The Pragmatic Programmers' book, TextMate Power Editing for the Mac is a thorough introduction to TextMate. Edward Gray II has written a very accessible book, that covers the product very well.

The first third of the book is devoted to the basics - things you do every day in your text editor. The second third of the book dives into the details of some really sweet features of TextMate that you'll find yourself using all the time: bundles, snippets, macros and UNIX shell commands.

TextMate ships with over thirty 'bundles'. Each bundle is a directory of related files that provide additional functionality to TextMate. Let's say you're working on an HTML file. The HTML bundle will help you with loads of things related to your document: validate the syntax of the document, open the document in the default browser, refresh the document in the current browser session, insert open/close tags for the current word, strip all HTML tags from the document - just to name a few. Each bundle provides functionality that applies not only to the syntax of the language you're currently working with, but repetitive tasks that would apply as well.

As I mentioned, a couple dozen bundles ship with TextMate and many more are available for free download from various websites. You can even create your own bundles to extend the product in ways that only you can imagine. Here are a few of the bundles that ship with TextMate: Blogging, CSS, HTML, Java, Markdown, Objective-C, Python, Rails, Ruby, SQL, Subversion, Text, Textile, Xcode and XML. Bundles provide you with lots of help editing files and performing related tasks.

Snippets are a smart completion mechanism that go way beyond the simple concept of 'finish this word'. For example, if you are editing a Ruby file and you type array_object.ea followed by the TAB key (where 'array_object' is an arbitrary Array object), the snippet feature will automatically fill in the skeleton of the 'each' iterator, including the opening and closing curly braces, the text '|e|' with the letter 'e' highlighted. You simply type the name of the variable you want to represent the next element (or simply leave it as it is), hit the TAB key again and the cursor will be placed between the closing '|' character and the closing '}' character, ready for you to type in an expression. Very cool. This same trick works for dozens of different scenarios in your Ruby code. And that's just the snippets that apply to Ruby code. There are snippets that apply to a large number of file types.

You've probably seen macros in other editors and TextMate's macro facility works as you might expect: you start recording a macro, perform some actions and save the macro. TextMate saves the macros as XML files, so it's a snap to edit a macro after recording if you need to tweak it a bit.

The ability to fire off UNIX shell commands from within TextMate gives you another powerful tool to use while editing files. You can fire off one-liner shell commands by simply pressing the ^R key on a line containing a shell command. You can also use shell commands to act on all or part of the current document.

For the advanced TextMate user, the tail end of the book shows you how to create your own language syntax for use in TextMate, including how to describe the grammar of the language in terms TextMate will understand. So, if you program in some far out funky language that TextMate doesn't support out of the box, you can add the language grammar to TextMate and program away!

Overall, I found this book extremely useful and easy to read. TextMate ships with an excellent help system that will answer many of your questions. The TextMate Power Editing for the Mac book will take you beyond the built-in help and give you an in-depth guide for this great Mac application.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 10 people found the following review helpful:
5.0 out of 5 stars Get a Mac, get TextMate, get this book., August 4, 2007
This review is from: Textmate: Power Editing for the Mac (Pragmatic Programmers) (Paperback)
"TextMate is actually a thin shell over a personalized team of robot ninjas ready to do your bidding."

The funny thing is, to people who have never used TextMate for more than a few minutes the above phrase sounds like an exaggeration. It's not. (As long as you can accept the analogy of "really awesome code running on a Mac" = "robot ninjas"...)

Anyway, this book targets a pretty specific market: 1) Humans, 2) who own Macs, 3) and use TextMate. I'm here to tell you that, if you're human you should have a Mac; and if you have a Mac you should buy TextMate; and if you have TextMate you should buy this book. So there, now it covers everyone.

As with all of the Pragmatic Programmer books, I found this book to be concise without missing anything important. You may be thinking, "200 pages about a text editor!? That's crazy talk!" But you would be wrong, my friend. The amount of functionality built into TextMate is incredible, but I didn't even know the half of it until I started reading this book!

I don't want to give away the ending, but:

Three of my favorite simple features I didn't know about until I read this book:
- Pressing [ESC] to complete the word you're typing.
- The built in TODO list functionality (so crucial!!)
- [Cmd-Enter] to add a new line below this one and go to the beginning of it.

Things I wouldn't have been able to do without TextMate and this book:
- Edit some of my Bundles to make TextMate work even more how *I* like
- Complete an after-hours Web Site project *way* under time and budget

Seriously. TextMate is the One True Editor for Mac (it makes me loath using any other editor on any platform) and this is a great book for learning how to *really* take hold of its power.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject