Skip to content

Commit

Permalink
vscode: Enable Emmet for additional languages, set expand shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
huntie committed Aug 20, 2020
1 parent 2673dcb commit 90d8619
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vscode/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,19 @@
"key": "shift+delete",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+e",
"command": "-actions.findWithSelection"
},
{
"key": "cmd+e",
"command": "editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "tab",
"command": "-editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
}
]
4 changes: 4 additions & 0 deletions vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"editor.scrollBeyondLastLine": true,
"editor.snippetSuggestions": "top",
"editor.wordSeparators": "./\\()\"'-:,.;<>~!#%^&*|+=[]{}`~?",
"emmet.includeLanguages": {
"flow": "javascriptreact",
"javascript": "javascriptreact"
},
"explorer.confirmDragAndDrop": false,
"files.insertFinalNewline": true,
"files.saveConflictResolution": "overwriteFileOnDisk",
Expand Down

0 comments on commit 90d8619

Please sign in to comment.