Skip to content

Instantly share code, notes, and snippets.

@sstarr
Created August 12, 2013 08:42
Show Gist options
  • Save sstarr/6209201 to your computer and use it in GitHub Desktop.
Save sstarr/6209201 to your computer and use it in GitHub Desktop.
[
{
"keys": ["escape"],
"command": "alternative_autocomplete",
"context": [
{"key": "num_selections", "operator": "equal", "operand": 1},
{"key": "overlay_visible", "operator": "equal", "operand": false},
{"key": "panel_visible", "operator": "equal", "operand": false},
{"key": "has_prev_field", "operator": "equal", "operand": false},
{"key": "has_next_field", "operator": "equal", "operand": false},
{"key": "auto_complete_visible", "operator": "equal", "operand": false}
]
},
{
"keys": ["shift+escape"],
"command": "alternative_autocomplete",
"args": {"cycle": "previous"},
"context": [
{"key": "num_selections", "operator": "equal", "operand": 1},
{"key": "overlay_visible", "operator": "equal", "operand": false},
{"key": "panel_visible", "operator": "equal", "operand": false},
{"key": "has_prev_field", "operator": "equal", "operand": false},
{"key": "has_next_field", "operator": "equal", "operand": false},
{"key": "auto_complete_visible", "operator": "equal", "operand": false}
]
},
{
"keys": ["ctrl+shift+."],
"command": "erb",
"context": [
{ "key": "selector", "operator": "equal", "operand": "text.html.ruby, text.haml, source.yaml, source.css, source.scss, source.js, source.coffee" },
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment