// Place your key bindings in this file to override the defaultsauto[] [ { "key": "cmd+k cmd+j", "command": "workbench.action.toggleMaximizedPanel" }, { "key": "cmd+k cmd+z", "command": "workbench.action.maximizeEditor" }, { "key": "cmd+k shift+cmd+z", "command": "workbench.action.evenEditorWidths" }, { "key": "cmd+k cmd+z", "command": "workbench.action.toggleMaximizedPanel", "when": "terminalFocus" }, { "key": "alt+cmd+/", "command": "-liveshare.followToTheSide", "when": "liveshare:hasCollaborators" }, { "key": "alt+cmd+/", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly" }, { "key": "shift+alt+a", "command": "-editor.action.blockComment", "when": "editorTextFocus && !editorReadonly" }, { "key": "cmd+k cmd+u", "command": "editor.action.transformToUppercase" }, { "key": "cmd+k cmd+l", "command": "editor.action.transformToLowercase" }, { "key": "ctrl+shift+w", "command": "editor.emmet.action.wrapWithAbbreviation" }, { "key": "ctrl+t", "command": "-editor.action.transposeLetters", "when": "textInputFocus && !editorReadonly" }, { "key": "ctrl+t", "command": "extension.transpose" }, { "key": "cmd+h", "command": "workbench.files.action.collapseExplorerFolders" }, { // show error under cursor "key": "cmd+;", "command": "editor.action.showHover", "when": "editorTextFocus" }, { // prevent fat-fingering the settings hotkey "key": "cmd+, cmd+,", "command": "workbench.action.openSettings" }, { "key": "cmd+,", "command": "-workbench.action.openSettings" }, { "key": "cmd+, cmd+.", "command": "macros.autoFixAll" }, // Focus editors and groups by cmd+number keys { "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" }, { "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" }, { "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" }, { "key": "cmd+4", "command": "workbench.action.openEditorAtIndex4" }, { "key": "cmd+5", "command": "workbench.action.openEditorAtIndex5" }, { "key": "cmd+6", "command": "workbench.action.openEditorAtIndex6" }, { "key": "cmd+7", "command": "workbench.action.openEditorAtIndex7" }, { "key": "cmd+8", "command": "workbench.action.openEditorAtIndex8" }, { "key": "cmd+9", "command": "workbench.action.openEditorAtIndex9" }, { "key": "cmd+shift+1", "command": "workbench.action.focusFirstEditorGroup" }, { "key": "cmd+shift+2", "command": "workbench.action.focusSecondEditorGroup" }, { "key": "cmd+shift+3", "command": "workbench.action.focusThirdEditorGroup" }, ]