Skip to content

Instantly share code, notes, and snippets.

@jketcham
Created February 6, 2014 03:44
Show Gist options
  • Save jketcham/8838097 to your computer and use it in GitHub Desktop.
Save jketcham/8838097 to your computer and use it in GitHub Desktop.
Sublime Text 2 - Tab to escape auto completed parenthesis, brackets, etc.
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "not_equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(\\]|\\)|\\}|>|\\\"|'|\\;)", "match_all": true }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment