Skip to content

Instantly share code, notes, and snippets.

@phillipoertel
Created August 10, 2012 09:14
Show Gist options
  • Save phillipoertel/3312805 to your computer and use it in GitHub Desktop.
Save phillipoertel/3312805 to your computer and use it in GitHub Desktop.
Here's what I needed to teach Sublime Text some TextMate keyboard shortcuts I use frequently -- Shift-Ctrl-T to show all methods in a file, and Cmd-L to go to a line in a file.
[
// goto line
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
// goto method
{ "keys": ["super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }
]
@phillipoertel
Copy link
Author

// add this to your .profile to open a file in Sublime Text from the command-line
alias sub='open -a "Sublime Text 2"'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment