Skip to content

Instantly share code, notes, and snippets.

@chriswarren
Created February 21, 2012 17:46
Show Gist options
  • Select an option

  • Save chriswarren/1877652 to your computer and use it in GitHub Desktop.

Select an option

Save chriswarren/1877652 to your computer and use it in GitHub Desktop.
Sublime Text 2 key mappings
[
{ "keys": ["ctrl+shift+."], "command": "erb" },
{ "keys": ["ctrl+shift+,"], "command": "insert_as_tag"},
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+1"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["super+shift+2"], "command": "focus_group", "args": { "group": 1 } },
{ "keys": ["super+shift+3"], "command": "focus_group", "args": { "group": 2 } },
{ "keys": ["super+shift+4"], "command": "focus_group", "args": { "group": 3 } },
{ "keys": ["super+shift+4"], "command": "focus_group", "args": { "group": 4 } },
{ "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
{ "keys": ["<", "%"], "command": "insert_snippet", "args": { "contents": "<%$0 %>" } },
{ "keys": ["escape"], "command": "alternative_autocomplete", "context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "overlay_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["shift+escape"], "command": "alternative_autocomplete", "args": {"cycle": "previous"}, "context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "overlay_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["super+shift+alt+c"], "command": "close_tag" },
{ "keys": ["ctrl+l"], "command": "insert_snippet", "args": {"contents": " => "}}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment