Skip to content

Instantly share code, notes, and snippets.

@marksim
Created March 14, 2012 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marksim/2039887 to your computer and use it in GitHub Desktop.
Save marksim/2039887 to your computer and use it in GitHub Desktop.
User sublime keymap for mapping CMD-T to the universal "goto"
[
{ "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "goto"} }
]
@marksim
Copy link
Author

marksim commented Mar 14, 2012

This lets you do 3 things
1 - start typing and you get files, including folders
2 - use '@' to look for symbols within the file you're currently in
3 - use ':' to goto a specific line

CMD-T -> 'sp/sphelper:21' => opens spec/spec_helper.rb on line 21
CMD-T -> 'mod/user@activate' => opens app/models/user.rb and finds the def activate line

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