Created
May 3, 2013 20:06
-
-
Save daytonn/5513530 to your computer and use it in GitHub Desktop.
Sublime keymap hotness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
// Upper/Lower case | |
{ "keys": ["super+alt+u"], "command": "upper_case" }, | |
{ "keys": ["super+alt+l"], "command": "lower_case" }, | |
// Hash rocket | |
{ "keys": ["super+alt="], "command": "insert_snippet", "args": {"contents": "=>"} }, | |
// Symbolize selection | |
{ "keys": ["super+shift+;"], "command": "insert_snippet", "args": {"name": "Packages/User/ruby-symbol.sublime-snippet"}}, | |
// TextMate style drawer toggle | |
{ "keys": ["ctrl+super+alt+d"], "command": "toggle_side_bar" }, | |
// Toggle Mini Map | |
{ "keys": ["ctrl+super+alt+m"], "command": "toggle_minimap" }, | |
// TextMate style bookmark navigation | |
{ "keys": ["f2"], "command": "next_bookmark" }, | |
// TextMate style find dialogs | |
{ "keys": ["super+f"], "command": "show_panel", "args": {"panel": "replace"} }, | |
{ "keys": ["super+shift+f"], "command": "show_panel", "args": {"panel": "find_in_files"} }, | |
{ "keys": ["super+alt+f"], "command": "replace_next" }, | |
// Sublime linter | |
{ "keys": ["ctrl+super+l"], "command": "sublimelinter_show_errors", "args": {"action": "lint", "show_popup": true} }, | |
// Custom tab and pane navigation | |
{ "keys": ["super+alt+left"], "command": "prev_view" }, | |
{ "keys": ["super+alt+right"], "command": "next_view" }, | |
{ "keys": ["super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, | |
{ "keys": ["super+shift+h"], "command": "reopen_last_file" }, | |
// TextMate style(ish) set syntax hotkey | |
{ "keys": ["ctrl+alt+shift+a"], "command": "set_syntax", "args": {"matches": "a"} }, | |
{ "keys": ["ctrl+alt+shift+b"], "command": "set_syntax", "args": {"matches": "b"} }, | |
{ "keys": ["ctrl+alt+shift+c"], "command": "set_syntax", "args": {"matches": "c"} }, | |
{ "keys": ["ctrl+alt+shift+d"], "command": "set_syntax", "args": {"matches": "d"} }, | |
{ "keys": ["ctrl+alt+shift+e"], "command": "set_syntax", "args": {"matches": "e"} }, | |
{ "keys": ["ctrl+alt+shift+f"], "command": "set_syntax", "args": {"matches": "f"} }, | |
{ "keys": ["ctrl+alt+shift+g"], "command": "set_syntax", "args": {"matches": "g"} }, | |
{ "keys": ["ctrl+alt+shift+h"], "command": "set_syntax", "args": {"matches": "h"} }, | |
{ "keys": ["ctrl+alt+shift+i"], "command": "set_syntax", "args": {"matches": "i"} }, | |
{ "keys": ["ctrl+alt+shift+j"], "command": "set_syntax", "args": {"matches": "j"} }, | |
{ "keys": ["ctrl+alt+shift+k"], "command": "set_syntax", "args": {"matches": "k"} }, | |
{ "keys": ["ctrl+alt+shift+l"], "command": "set_syntax", "args": {"matches": "l"} }, | |
{ "keys": ["ctrl+alt+shift+m"], "command": "set_syntax", "args": {"matches": "m"} }, | |
{ "keys": ["ctrl+alt+shift+n"], "command": "set_syntax", "args": {"matches": "n"} }, | |
{ "keys": ["ctrl+alt+shift+o"], "command": "set_syntax", "args": {"matches": "o"} }, | |
{ "keys": ["ctrl+alt+shift+p"], "command": "set_syntax", "args": {"matches": "p"} }, | |
{ "keys": ["ctrl+alt+shift+q"], "command": "set_syntax", "args": {"matches": "q"} }, | |
{ "keys": ["ctrl+alt+shift+r"], "command": "set_syntax", "args": {"matches": "r"} }, | |
{ "keys": ["ctrl+alt+shift+s"], "command": "set_syntax", "args": {"matches": "s"} }, | |
{ "keys": ["ctrl+alt+shift+t"], "command": "set_syntax", "args": {"matches": "t"} }, | |
{ "keys": ["ctrl+alt+shift+u"], "command": "set_syntax", "args": {"matches": "u"} }, | |
{ "keys": ["ctrl+alt+shift+v"], "command": "set_syntax", "args": {"matches": "v"} }, | |
{ "keys": ["ctrl+alt+shift+w"], "command": "set_syntax", "args": {"matches": "w"} }, | |
{ "keys": ["ctrl+alt+shift+x"], "command": "set_syntax", "args": {"matches": "x"} }, | |
{ "keys": ["ctrl+alt+shift+y"], "command": "set_syntax", "args": {"matches": "y"} }, | |
{ "keys": ["ctrl+alt+shift+z"], "command": "set_syntax", "args": {"matches": "z"} }, | |
{ "keys": ["ctrl+alt+shift+space"], "command": "set_syntax" }, | |
// TextMate style auto-indent paste | |
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" }, | |
// Fix copy empty selection to clipboard bug | |
{ "keys": ["super+c"], "command": "noop", "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true } | |
] | |
}, | |
{ "keys": ["f5"], "command": "sort_lines", "args": {"case_sensitive": false} }, | |
// Quick File Creation | |
{ "keys": ["super+n"], "command": "advanced_new_file"}, | |
{ "keys": ["super+ctrl+m"], "command": "list_rails_models" }, | |
{ "keys": ["super+ctrl+c"], "command": "list_rails_controllers" }, | |
{ "keys": ["super+ctrl+v"], "command": "list_rails_views" }, | |
{ "keys": ["super+ctrl+h"], "command": "list_rails_helpers" }, | |
{ "keys": ["super+ctrl+x"], "command": "list_rails_fixtures" }, | |
{ "keys": ["super+ctrl+t"], "command": "list_rails_tests" }, | |
{ "keys": ["super+ctrl+i"], "command": "list_rails_javascripts" }, | |
{ "keys": ["super+ctrl+y"], "command": "list_rails_stylesheets" } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment