Flash Performance Tips Part II →← Everybody likes Google

TextMate Shortcuts

We here at Big Spaceship use TextMate as our text editor and shortcuts are a big help to me. The things most common to every programmer are copy and paste. But there are so many more shortcuts to aid in the every day tasks. Read on for my most commonly used shortcuts and of course, any additions are welcome.

[APPLE E] = copy to shared clipboard
[APPLE G] = find the next occurrence in the shared clipboard
works across applications

[APPLE SHIFT T] = Go To Symbol
- type immediately the method you know you want to go to, select, return or double click from list

[CTRL OPT APPLE V] = Clipboard History
esc = complete/suggestion
- based on the current document as well as the language

easy search/replace
- select a word -> [APPLE E]
- select the replace word -> [APPLE SHIFT E]
- [APPLE CTRL F] to replace the entire doc or select a range for replacement and use [APPLE SHIFT CTRL F]

copy history
- copy something. copy something else
- paste - [APPLE V] and then [APPLE SHIFT V]
F2 = add bookmark
- [APPLE F] to navigate through these bookmarks

And lastly, create some macros for commonly typed/used things. The most common macros I have are to paste the code for a private and a public method for a class. Be creative!

February 27th, 2007  by Stephen  /  4 Comments

Comments on “TextMate Shortcuts”

  1. Thanks for these tips! After seeing this post, I’ve officially converted from BBEdit to TextMate.

    Lex Talkington on March 3rd, 2007 at 11:14 pm
  2. I’m a huge fan of snippets, and the AS ones kind of suck. So, ctemplate [tab] => fills in a class, MC [tab] => MovieClip, gnhd [tab] => getNextHighestDepth, etc. Having TM *almost* makes up for the pita that an intel mac running cs2/studio 8 creates.

    Michael on March 4th, 2007 at 3:47 am
  3. Make sure you also grab this TextMate Desktop of shortcuts: http://www.wishingline.com/notebook/archives/2007_01.php#001122

    Paul Mayne on March 5th, 2007 at 3:44 am
  4. That’s very nice tool indeed, though I personally prefer more simple ones, like an extension to the Windows notepad, Notepad2.

    Pawel on April 7th, 2007 at 6:58 am