Good Bye TextMate
It’s been fun a ride. We’ve known each other since 2006. Through good times and bad times. One dotcom to another. I know your shortcuts like the back of my own hands.
But it’s time to move on. You are starting to show your age. Accidental Command+Shift+F always killed you while Command+T is too slow on TextMate 2 Alpha.
Meet my new editor, Sublime Text 2. Here are a few tips I just discovered on OS X.
How to: Setup command line executable
Follow this instruction.
How to: Open Python prompt
Press Control+`
How to: Install Package Control
Follow this instruction.
How to: Install Git package
Follow this instruction.
How to: Install any packages
- Press Command+Shift+P to open context sensitive menu.
- Type packin, it will reveal Package Control: Install Package.
- Type whatever package you expect to find.
How to: Use git blame on current buffer file
- Install Git package first. See above.
- Press Command+Shift+P to open context sensitive menu.
- Type gitbl, it will reveal Git Blame.
- Press enter.
How to: Select with multiple cursors
Press Command while clicking.
How to: Indent a block of text
- Highlight the text.
- Indent outward with Command+] or inward with Command+[
How to: go to line in opened file
Press Control+G (This one bugs me a little). It turns out, I can also do: Command+P, then : (colon)
How to: go to method in opened file
Press Command+R
How to: find and replace in opened file
Press Command+Alt+F
That said, I prefer my Command+F to do the job. So I changed the key bindings. To do that:
- open Preferences > Key Bindings
- reverse the following:
{ “keys”: [“super+f”], “command”: “show_panel”, “args”: {“panel”: “find”} },
{ “keys”: [“super+alt+f”], “command”: “show_panel”, “args”: {“panel”: “replace”} },
How to: Debug your Flask or Tornado application interactively
- Open Python prompt using: Control+`
- Import your Application object.
More resources: