Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shangoyanyi/aa33bb6ba740baa0422efc06045bba2f to your computer and use it in GitHub Desktop.
Save shangoyanyi/aa33bb6ba740baa0422efc06045bba2f to your computer and use it in GitHub Desktop.
/*
* Paste this code in SublimeText3 -> Preferences -> Key Bindings-User to enable emmet for jsx
*/
[{
"keys": ["tab"],
"command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.js",
"operator": "equal",
"match_all": true,
"key": "selector"
},
{
"key": "selection_empty",
"operator": "equal",
"operand": true,
"match_all": true
}
]
},
{ "keys": ["tab"], "command": "next_field", "context":
[
{ "key": "has_next_field", "operator": "equal", "operand": true }
]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment