Use Control-Command-T and Control-Alt-Command-K to get lists of the current key bindings.
I turned on "Edit in TextMate" by clicking the gear menu in the status bar (inside TextMate), navigating to the TextMate submenu and selecting Install "Edit in TextMate". Now I can use TextMate from Safari or Mail. Very cool.
When in HTML mode, I typed "html" followed by ^< to expand it into <html></html> but intead I got "env: ruby: No such file or directory". After wasting time, I fixed it by making a link to /usr/local/bin/ruby from /usr/bin.
TextMate doesn't have Emacs's smart auto-fill mode or the fill-paragraph-or-region function. Instead, it has a limited "reformat paragraph" command which just removes whitespace, and a "column selection" concept which forces text to stay in a box. So you can sorta fix a paragraph by:
This is inconvenient compared to Emacs, but it sorta works.
To indent an HTML file, you select the whole buffer with Command-A, then do Text->Indent Selection. For this to work, you have to have balanced paragraph tags, sigh.
I did TextMate->Preferences... and Font & Colors, then copied "Mac Classic" to create "Pete's".
I wrote a Textmate grammar for Juniper config files. While doing it, I learned that Control-shift-P will show you what parser element Textmate is under the cursor.
You probably want to develop ANTLR grammars with ANTLRWorks, but load the ANTLR bundle to get syntax highlighting anyway:
cd ~/Library/Application\ Support/TextMate/Bundles svn co http://macromates.com/svn/Bundles/trunk/Bundles/ANTLR.tmbundleYou'll also be able to compile ANTLR grammars from within TextMate using Command-B.