... for better TextMate project window management.
First, open Keyboard.prefPane and map Control-Command-Z (^⌘Z) to "Zoom". (Detailed instructions can be found here, and the example he uses is this exact shortcut, in case you weren't convinced this is the right thing to do.)
Now open up a project in TextMate so that you've got the project drawer showing.
Ready? Here's your new keyboard calisthenic routine.
- Control-Option-Command-D (^⌥⌘D or "mash D") to Hide Project Drawer
- Control-Command-Z (^⌘Z) to Zoom the editor window to fill the screen
- Control-Command-Z (^⌘Z) again to Zoom the editor window back to a size that can accommodate the project drawer
- Control-Option-Command-D (^⌥⌘D or "mash D") again to Show Project Drawer
- Option-Command-Backtick (⌥⌘`) to move focus to the drawer
- Option-Down (⌥↓) to jump to the bottom of the drawer
- Option-up (⌥↑) to jump to the top of the drawer
- Option-Command-Backtick (⌥⌘`) again to move focus back to the editor
- Again! Faster!
UPDATE: Note that the second Control-Command-Z (^⌘Z), while excellent exercise, isn't really necessary. TextMate will automatically zoom out the window if you ask for the project drawer and there isn't any room for it. Sweet!