Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
User sublime keymap for mapping CMD-T to the universal "goto"
{ "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "goto"} }

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