Skip to content

Instantly share code, notes, and snippets.

@ssaunier
Created December 3, 2017 21:10
Show Gist options
  • Save ssaunier/60d33d212564daadd5eeaebd3961be44 to your computer and use it in GitHub Desktop.
Save ssaunier/60d33d212564daadd5eeaebd3961be44 to your computer and use it in GitHub Desktop.
Sublime Key Bindings for using Emmet inside Babel JavaScript files. Sublime > Preferences > Key Bindings
[
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
{ "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
{ "match_all": true, "key": "is_abbreviation" }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment