Skip to content

Instantly share code, notes, and snippets.

@emrecamasuvi
Created November 30, 2018 07:35
Show Gist options
  • Save emrecamasuvi/434cc654ecfe27611c70e44a8303c067 to your computer and use it in GitHub Desktop.
Save emrecamasuvi/434cc654ecfe27611c70e44a8303c067 to your computer and use it in GitHub Desktop.
vs code keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+alt+enter",
"command": "editor.emmet.action.wrapWithAbbreviation"
},
{
"key": "ctrl+shift+oem_2",
"command": "editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "ctrl+shift+oem_2",
"command": "-editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "ctrl+shift+oem_2",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_2",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_2",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_2",
"command": "editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+oem_2",
"command": "-editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+oem_5",
"command": "editor.emmet.action.toggleComment"
},
{
"key": "ctrl+oem_comma",
"command": "editor.emmet.action.balanceOut"
},
{
"key": "ctrl+oem_7",
"command": "editor.emmet.action.balanceIn"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+e",
"command": "editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "cmd+alt+e",
"command": "mithrilEmmet.expand",
"when": "editorFocus"
},
{
"key": "ctrl+alt+e",
"command": "mithrilEmmet.expand",
"when": "editorFocus"
},
{
"key": "tab",
"command": "-editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "alt+d",
"command": "lafe.duplicateCode"
},
{
"key": "ctrl+k d",
"command": "-lafe.duplicateCode"
},
{
"key": "f9",
"command": "tslint.fixAllProblems"
},
{
"key": "ctrl+k ctrl+3",
"command": "editor.foldLevel3",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+3",
"command": "-editor.foldLevel3",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+numpad_add",
"command": "editor.unfoldAll",
"when": "editorFocus"
},
{
"key": "ctrl+k ctrl+0",
"command": "-editor.unfoldAll",
"when": "editorFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment