Skip to content

Instantly share code, notes, and snippets.

@kcmr
Last active June 17, 2018 01:09
Show Gist options
  • Save kcmr/2165ffce411c4acc3f08761d039f2ace to your computer and use it in GitHub Desktop.
Save kcmr/2165ffce411c4acc3f08761d039f2ace to your computer and use it in GitHub Desktop.
VS Code keybindings for working with Polymer (data binding and custom attributes)
{
"key": "shift+'",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && editorLangId == html",
"args": {
"snippet": "\"$1\""
}
},
{
"key": "'",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && editorLangId == html",
"args": {
"snippet": "'$1'"
}
},
{
"key": "alt+`",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && editorLangId == html",
"args": {
"snippet": "[$1]"
}
},
{
"key": "alt+[Quote]",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && editorLangId == html",
"args": {
"snippet": "{$1}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment