Last active
April 8, 2020 15:44
-
-
Save Luxcium/da478558e7de93b4d61c8a8a95961f8e to your computer and use it in GitHub Desktop.
My main VSCode Key Bindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// =====2020=====Luxcium=====Author==Benjamin=Vincent=(Luxcium)=License==MIT==== | |
[ | |
// $ $ $ $ $ $ ============================================================= | |
// #region !! SNIPPETS | |
/* | |
* "text": "`" "alt+m", | |
* "template_placeholder" "alt+n", | |
* "TRY_THROW" "alt+t", | |
* "add_export_const" "cmd+i cmd+e", | |
* "export_const_arrow" "cmd+i cmd+c", | |
* "exrpot_template001" "cmd+i cmd+f", | |
* "CONSOLE_LOG" "alt+l", | |
* "Async_IIFE" "alt+a", | |
* "AWAIT_PAREN" "shift+alt+0", | |
* "AWAIT_PAREN" "shift+alt+9", | |
* "AWAIT_PAREN" "cmd+i cmd+a", | |
* "function_template001" "cmd+i cmd+y", | |
* cmd+i cmd+q | |
*/ | |
// !! SNIPPETS | |
{ | |
"key": "alt+a", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "Async_IIFE" | |
} | |
}, | |
{ | |
"key": "alt+m", | |
"command": "default:type", | |
"args": { | |
"text": "`" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+i cmd+q", | |
"command": "default:type", | |
"args": { | |
"text": "import { redeemToken } from 'questrade-ts';\n" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+i cmd+r", | |
"command": "default:type", | |
"args": { | |
"text": "import { default as R } from 'ramda';\n" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+n", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "template_placeholder" | |
} | |
}, | |
{ | |
"key": "alt+t", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "TRY_THROWB" | |
} | |
}, | |
{ | |
"key": "cmd+i cmd+e", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "add_export_const" | |
} | |
}, | |
{ | |
"key": "cmd+i cmd+c", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "export_const_arrow" | |
} | |
}, | |
{ | |
"key": "cmd+i cmd+f", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "exrpot_template001" | |
} | |
}, | |
// { | |
// "key": "shift+cmd+9", | |
// "command": "commandId", | |
// "when": "editorTextFocus" | |
// }, | |
// { | |
// "key": "shift+alt+0", | |
// "command": "commandId", | |
// "when": "editorTextFocus" | |
// }, | |
// { | |
// "key": "shift+cmd+0", | |
// "command": "commandId", | |
// "when": "editorTextFocus" | |
// }, | |
// AWAIT_PAREN | |
{ | |
"key": "alt+l", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "", | |
"langId": "typescript", | |
"name": "CONSOLE_LOG" | |
} | |
}, | |
{ | |
"key": "cmd+i cmd+a", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "", | |
"langId": "typescript", | |
"name": "AWAIT_PAREN" | |
} | |
}, | |
{ | |
"key": "shift+alt+0", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "", | |
"langId": "typescript", | |
"name": "AWAIT_PAREN" | |
} | |
}, | |
{ | |
"key": "shift+alt+9", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "", | |
"langId": "typescript", | |
"name": "AWAIT_PAREN" | |
} | |
}, | |
{ | |
"key": "cmd+i cmd+y", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "function_template001" | |
} | |
}, | |
{ | |
"key": "alt+shift+2", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "import_template001" | |
} | |
}, | |
{ | |
"key": "alt+shift+3", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "exrpot_template001" | |
} | |
}, | |
{ | |
"key": "alt+shift+4", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "function_template001" | |
} | |
}, | |
{ | |
"key": "alt+shift+5", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "TRY_THROWB" | |
} | |
}, | |
{ | |
"key": "alt+shift+6", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"langId": "typescript", | |
"name": "Async_IIFE" | |
} | |
}, | |
// #endregion !! SNIPPETS | |
// $ $ $ $ $ $ ============================================================= | |
// #region !! TOGGLE | |
{ | |
"key": "cmd+b cmd+h", | |
"command": "toggle", | |
"when": "", | |
"args": { | |
"id": "toggleGlyphs", | |
"value": [ | |
{ | |
"editor.glyphMargin": true | |
}, | |
{ | |
"editor.glyphMargin": false | |
} | |
] | |
} | |
}, | |
{ | |
"key": "cmd+b cmd+j", | |
"command": "toggle", | |
"when": "", | |
"args": { | |
"id": "toggleLineNumbers", | |
"value": [ | |
{ | |
"editor.lineNumbers": "on" | |
}, | |
{ | |
"editor.lineNumbers": "off" | |
} | |
] | |
} | |
}, | |
{ | |
"key": "cmd+b cmd+k", | |
"command": "toggle", | |
"when": "", | |
"args": { | |
"id": "toggleFolding", | |
"value": [ | |
{ | |
"editor.folding": true | |
}, | |
{ | |
"editor.folding": false | |
} | |
] | |
} | |
}, | |
{ | |
"key": "cmd+b cmd+l", | |
"command": "toggle", | |
"when": "", | |
"args": { | |
"id": "toggleHorizontalSpace", | |
"value": [ | |
{ | |
"workbench.activityBar.visible": true, | |
"editor.glyphMargin": true, | |
"editor.lineNumbers": "on", | |
"editor.folding": true, | |
"editor.minimap.enabled": true, | |
}, | |
{ | |
"editor.minimap.enabled": false, | |
"editor.folding": false, | |
"editor.lineNumbers": "off", | |
"editor.glyphMargin": false, | |
"workbench.activityBar.visible": false, | |
} | |
] | |
} | |
}, | |
{ | |
"key": "cmd+b cmd+;", | |
"command": "toggle", | |
"when": "", | |
"args": { | |
"id": "toggleVerticaSpace", | |
"value": [ | |
{ | |
"breadcrumbs.enabled": true, | |
"workbench.editor.showTabs": true, | |
"workbench.statusBar.visible": true, | |
}, | |
{ | |
"breadcrumbs.enabled": false, | |
"workbench.editor.showTabs": false, | |
"workbench.statusBar.visible": false, | |
} | |
] | |
} | |
}, | |
{ | |
"key": "cmd+k cmd+f", | |
"command": "toggle", | |
"when": "editorTextFocus", | |
"args": { | |
"id": "showFoldingControls", | |
"value": [ | |
{ | |
"editor.formatOnSave": true, | |
"javascript.format.enable": true, | |
"eslint.format.enable": true, | |
"typescript.format.enable": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll": true, | |
"source.organizeImports": true, | |
"source.fixAll.eslint": true | |
}, | |
"editor.formatOnType": false, | |
"editor.formatOnPaste": true, | |
}, | |
{ | |
"editor.formatOnSave": false, | |
"eslint.format.enable": false, | |
"javascript.format.enable": false, | |
"typescript.format.enable": false, | |
"editor.codeActionsOnSave": { | |
"source.fixAll": false, | |
"source.organizeImports": false, | |
"source.fixAll.eslint": false | |
}, | |
"editor.formatOnType": false, | |
"editor.formatOnPaste": true, | |
} | |
] | |
} | |
}, | |
{ | |
"key": "cmd+k cmd+v", | |
"command": "toggle", | |
"when": "", | |
"args": { | |
"id": "toggleTsValidate", | |
"value": [ | |
{ | |
"typescript.validate.enable": true, | |
"javascript.validate.enable": true | |
}, | |
{ | |
"typescript.validate.enable": false, | |
"javascript.validate.enable": false | |
} | |
] | |
} | |
}, | |
// { | |
// "key": "cmd+k cmd+f", | |
// "command": "toggle", | |
// "when": "editorTextFocus", | |
// "args": { | |
// "id": "toggleTabs", | |
// "value": [ | |
// { | |
// "workbench.editor.showTabs": true | |
// }, | |
// { | |
// "workbench.editor.showTabs": false | |
// } | |
// ] | |
// } | |
// }, | |
// { | |
// "key": "ctrl+cmd+l", | |
// "command": "toggle", | |
// "when": "editorTextFocus", | |
// "args": { | |
// "id": "lineNumbers", | |
// "value": [ | |
// { | |
// "editor.lineNumbers": "on" | |
// }, | |
// { | |
// "editor.lineNumbers": "off" | |
// } | |
// ] | |
// } | |
// }, | |
// { | |
// "key": "ctrl+cmd+c", | |
// "command": "toggle", | |
// "when": "editorTextFocus", | |
// "args": { | |
// "id": "showFoldingControls", | |
// "value": [ | |
// { | |
// "editor.showFoldingControls": "always" | |
// }, | |
// { | |
// "editor.showFoldingControls": "mouseover" | |
// } | |
// ] | |
// } | |
// }, | |
{ | |
"key": "alt+cmd+m", | |
"command": "toggle", | |
"args": { | |
"id": "minimapSide", | |
"value": [ | |
{ | |
"editor.minimap.side": "right", | |
}, | |
{ | |
"editor.minimap.side": "left", | |
} | |
] | |
} | |
}, | |
{ | |
"key": "shift+cmd+m", | |
"command": "toggle", | |
"args": { | |
"id": "minimapScale", | |
"value": [ | |
{ | |
"editor.minimap.scale": 3, | |
}, | |
{ | |
"editor.minimap.scale": 2, | |
}, | |
{ | |
"editor.minimap.scale": 1, | |
}, | |
{ | |
"editor.minimap.scale": 2, | |
}, | |
] | |
} | |
}, | |
{ | |
"key": "ctrl+cmd+m", | |
"command": "toggle", | |
"args": { | |
"id": "minimapSize", | |
"value": [ | |
{ | |
"editor.minimap.size": "fill", | |
}, | |
{ | |
"editor.minimap.size": "proportional", | |
}, | |
{ | |
"editor.minimap.size": "fit", | |
}, | |
{ | |
"editor.minimap.size": "proportional", | |
}, | |
] | |
} | |
}, | |
// { | |
// "key": "ctrl+alt+cmd+t", | |
// "command": "toggle", | |
// "when": "editorTextFocus", | |
// "args": { | |
// "id": "showAllOrNone", | |
// "value": [ | |
// { | |
// "editor.glyphMargin": true, | |
// "editor.lineNumbers": "on", | |
// "editor.showFoldingControls": "always", | |
// "workbench.activityBar.visible": true, | |
// "workbench.editor.showTabs": true, | |
// "breadcrumbs.enabled": true, | |
// "editor.minimap.enabled": true | |
// }, | |
// { | |
// "breadcrumbs.enabled": false, | |
// "editor.glyphMargin": false, | |
// "editor.lineNumbers": "off", | |
// "editor.showFoldingControls": "mouseover", | |
// "workbench.activityBar.visible": false, | |
// "editor.minimap.enabled": false | |
// } | |
// ] | |
// } | |
// }, | |
/* | |
-=== | |
"editor.minimap.side": "right", | |
*/ | |
// #endregion !! TOGGLE | |
// $ $ $ $ $ $ ============================================================= | |
{ | |
"key": "alt+j", | |
"command": "workbench.action.nextPanelView" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+d", | |
"command": "workbench.action.openGlobalKeybindingsFile" | |
}, | |
{ | |
"key": "shift+cmd+k shift+cmd+d", | |
"command": "workbench.action.openDefaultKeybindingsFile" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "problems.action.copy", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "problems.action.focusFilter", | |
"when": "problemsViewFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "problems.action.focusProblemsFromFilter", | |
"when": "problemsFilterFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "editor.action.extensioneditor.showfind", | |
"when": "activeEditor == 'workbench.editor.extension'" | |
}, | |
{ | |
"key": "alt+cmd+k alt+cmd+f", | |
"command": "editor.action.formatSelection", | |
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+k ctrl+alt+cmd+[Slash]", | |
"command": "editor.foldAllBlockComments", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+[IntlBackslash]", | |
"command": "editor.foldAllBlockComments", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+8", | |
"command": "editor.foldAllMarkerRegions", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+1", | |
"command": "editor.foldLevel1", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+2", | |
"command": "editor.foldLevel2", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+3", | |
"command": "editor.foldLevel3", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+4", | |
"command": "editor.foldLevel4", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+5", | |
"command": "editor.foldLevel5", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+6", | |
"command": "editor.foldLevel6", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+7", | |
"command": "editor.foldLevel7", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k ctrl+alt+cmd+9", | |
"command": "editor.foldRecursively", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+9", | |
"command": "editor.unfoldAllMarkerRegions", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k ctrl+alt+cmd+0", | |
"command": "editor.unfoldRecursively", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+space", | |
"command": "toggleSuggestionDetails", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "cmd+;", | |
"command": "breadcrumbs.focus", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "cmd+k f", | |
"command": "workbench.action.closeFolder" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "workbench.action.closeWindow" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups && !terminalFocus" | |
}, | |
{ | |
"key": "alt+f5", | |
"command": "workbench.action.compareEditor.nextChange", | |
"when": "textCompareEditorVisible" | |
}, | |
{ | |
"key": "shift+alt+f5", | |
"command": "workbench.action.compareEditor.previousChange", | |
"when": "textCompareEditorVisible" | |
}, | |
{ | |
"key": "f6", | |
"command": "workbench.action.debug.pause", | |
"when": "debugState == 'running'" | |
}, | |
{ | |
"key": "shift+cmd+f5", | |
"command": "workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+f5", | |
"command": "workbench.action.debug.run", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "shift+f11", | |
"command": "workbench.action.debug.stepOut", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "f10", | |
"command": "workbench.action.debug.stepOver", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "shift+f5", | |
"command": "workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "cmd+k m", | |
"command": "workbench.action.editor.changeLanguageMode" | |
}, | |
{ | |
"key": "cmd+k p", | |
"command": "workbench.action.files.copyPathOfActiveFile" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.files.newUntitledFile", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "workbench.action.files.openFileFolder" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "workbench.action.files.openLocalFileFolder", | |
"when": "remoteFileDialogVisible && remoteFileDialogVisible" | |
}, | |
{ | |
"key": "cmd+k r", | |
"command": "workbench.action.files.revealActiveFileInWindows" | |
}, | |
{ | |
"key": "cmd+s", | |
"command": "workbench.action.files.save" | |
}, | |
{ | |
"key": "alt+cmd+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "shift+cmd+s", | |
"command": "workbench.action.files.saveAs" | |
}, | |
{ | |
"key": "ctrl+alt+w", | |
"command": "workbench.action.switchWindow" | |
}, | |
{ | |
"key": "alt+cmd+down", | |
"command": "workbench.action.terminal.resizePaneDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+up", | |
"command": "workbench.action.terminal.resizePaneUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+pagedown", | |
"command": "workbench.action.terminal.scrollDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "workbench.action.terminal.scrollDownPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+end", | |
"command": "workbench.action.terminal.scrollToBottom", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "workbench.action.terminal.scrollToNextCommand", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "workbench.action.terminal.scrollToPreviousCommand", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+home", | |
"command": "workbench.action.terminal.scrollToTop", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+pageup", | |
"command": "workbench.action.terminal.scrollUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "pageup", | |
"command": "workbench.action.terminal.scrollUpPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+a", | |
"command": "workbench.action.terminal.selectAll", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+down", | |
"command": "workbench.action.terminal.selectToNextCommand", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+up", | |
"command": "workbench.action.terminal.selectToPreviousCommand", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+[Quote]", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+[Backquote]", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+[IntlBackslash]", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+c", | |
"command": "workbench.action.terminal.toggleFindCaseSensitive", | |
"when": "terminalFindWidgetFocused" | |
}, | |
{ | |
"key": "alt+cmd+r", | |
"command": "workbench.action.terminal.toggleFindRegex", | |
"when": "terminalFindWidgetFocused" | |
}, | |
{ | |
"key": "alt+cmd+w", | |
"command": "workbench.action.terminal.toggleFindWholeWord", | |
"when": "terminalFindWidgetFocused" | |
}, | |
{ | |
"key": "alt+cmd+0", | |
"command": "workbench.action.toggleEditorGroupLayout" | |
}, | |
{ | |
"key": "ctrl+cmd+f", | |
"command": "workbench.action.toggleFullScreen" | |
}, | |
{ | |
"key": "cmd+b cmd+t", | |
"command": "workbench.action.toggleTabsVisibility" | |
}, | |
{ | |
"key": "cmd+k z", | |
"command": "workbench.action.toggleZenMode" | |
}, | |
{ | |
"key": "cmd+numpad_add", | |
"command": "workbench.action.zoomIn" | |
}, | |
{ | |
"key": "shift+cmd+=", | |
"command": "workbench.action.zoomIn" | |
}, | |
{ | |
"key": "cmd+=", | |
"command": "workbench.action.zoomIn" | |
}, | |
{ | |
"key": "cmd+numpad_subtract", | |
"command": "workbench.action.zoomOut" | |
}, | |
{ | |
"key": "shift+cmd+-", | |
"command": "workbench.action.zoomOut" | |
}, | |
{ | |
"key": "cmd+-", | |
"command": "workbench.action.zoomOut" | |
}, | |
{ | |
"key": "cmd+numpad0", | |
"command": "workbench.action.zoomReset" | |
}, | |
{ | |
"key": "cmd+k cmd+m", | |
"command": "workbench.extensions.action.showRecommendedKeymapExtensions" | |
}, | |
{ | |
"key": "cmd+k c", | |
"command": "workbench.files.action.compareWithClipboard" | |
}, | |
{ | |
"key": "cmd+k d", | |
"command": "workbench.files.action.compareWithSaved" | |
}, | |
{ | |
"key": "cmd+k e", | |
"command": "workbench.files.action.focusOpenEditorsView", | |
"when": "workbench.explorer.openEditorsView.active" | |
}, | |
{ | |
"key": "cmd+b cmd+x", | |
"command": "workbench.view.extensions" | |
}, | |
{ | |
"key": "cmd+b cmd+g", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "cmd+b cmd+f", | |
"command": "workbench.view.search", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "breadcrumbs.selectEditor", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+j cmd+c", | |
"command": "workbench.action.terminal.clear", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "debug.renameWatchExpression", | |
"when": "watchExpressionsFocused" | |
}, | |
{ | |
"key": "enter", | |
"command": "debug.setVariable", | |
"when": "variablesFocused" | |
}, | |
{ | |
"key": "space", | |
"command": "debug.toggleBreakpoint", | |
"when": "breakpointsFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "deleteFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !config.files.enableTrash && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "alt+cmd+backspace", | |
"command": "deleteFile", | |
"when": "config.files.enableTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.closeCallHierarchy", | |
"when": "callHierarchyVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "escape", | |
"command": "filesExplorer.cancelCut", | |
"when": "explorerResourceCut && explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "filesExplorer.copy", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "cmd+x", | |
"command": "filesExplorer.cut", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+cmd+[Comma]", | |
"command": "filesExplorer.cut", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "filesExplorer.paste", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "moveFileToTrash", | |
"when": "config.files.enableTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "f2", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "f11", | |
"command": "workbench.action.debug.stepInto", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeReferenceSearch", | |
"when": "referenceSearchVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeReferenceSearch", | |
"when": "referenceSearchVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "f4", | |
"command": "goToNextReference", | |
"when": "referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "goToPreviousReference", | |
"when": "referenceSearchVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "notifications.hideList", | |
"when": "notificationCenterVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "notifications.hideToasts", | |
"when": "notificationToastsVisible" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "workbench.action.quickInputBack", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.quickOpenNavigateNextInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "workbench.action.quickOpenNavigateNextInRecentFilesPicker", | |
"when": "inQuickOpen && inRecentFilesPicker" | |
}, | |
{ | |
"key": "ctrl+q", | |
"command": "workbench.action.quickOpenNavigateNextInViewPicker", | |
"when": "inQuickOpen && inViewsPicker" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.quickOpenNavigatePreviousInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "shift+cmd+p", | |
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", | |
"when": "inQuickOpen && inRecentFilesPicker" | |
}, | |
{ | |
"key": "ctrl+shift+q", | |
"command": "workbench.action.quickOpenNavigatePreviousInViewPicker", | |
"when": "inQuickOpen && inViewsPicker" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "alt+cmd+i", | |
"command": "workbench.action.toggleDevTools", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "ctrl+f12", | |
"command": "references-view.find", | |
"when": "editorHasReferenceProvider" | |
}, | |
{ | |
"key": "cmd+k v", | |
"command": "markdown.showPreviewToSide", | |
"when": "editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "shift+cmd+a", | |
"command": "extension.sortIt", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+r l", | |
"command": "npm-script.showOutput" | |
}, | |
{ | |
"key": "cmd+r shift+r", | |
"command": "npm-script.run" | |
}, | |
{ | |
"key": "ctrl+alt+j", | |
"command": "code-runner.runByLanguage" | |
}, | |
{ | |
"key": "cmd+r r", | |
"command": "npm-script.rerun-last-script" | |
}, | |
{ | |
"key": "ctrl+alt+m", | |
"command": "code-runner.stop" | |
}, | |
{ | |
"key": "cmd+r shift+x", | |
"command": "npm-script.terminate-script" | |
}, | |
{ | |
"key": "cmd+r t", | |
"command": "npm-script.test" | |
}, | |
{ | |
"key": "alt+b", | |
"command": "gitlens.toggleFileBlame", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /blameable/" | |
}, | |
{ | |
"key": "shift+alt+b", | |
"command": "gitlens.toggleCodeLens", | |
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+-", | |
"command": "gitlens.showLastQuickPick", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+[IntlBackslash]", | |
"command": "gitlens.showCommitSearch", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+h", | |
"command": "gitlens.showQuickFileHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "gitlens.showQuickRepoHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+s", | |
"command": "gitlens.showQuickRepoStatus", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+c", | |
"command": "gitlens.showQuickCommitFileDetails", | |
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'alternate'" | |
}, | |
{ | |
"key": "alt+[Period]", | |
"command": "gitlens.diffWithNext", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+[Comma]", | |
"command": "gitlens.diffWithPrevious", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+w", | |
"command": "gitlens.diffLineWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g b", | |
"command": "gitlens.toggleFileBlame", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /blameable/" | |
}, | |
{ | |
"key": "alt+cmd+g shift+b", | |
"command": "gitlens.toggleCodeLens", | |
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g -", | |
"command": "gitlens.showLastQuickPick", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g ctrl+alt+[Slash]", | |
"command": "gitlens.showCommitSearch", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g [IntlBackslash]", | |
"command": "gitlens.showCommitSearch", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g h", | |
"command": "gitlens.showQuickFileHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g shift+h", | |
"command": "gitlens.showQuickRepoHistory", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g s", | |
"command": "gitlens.showQuickRepoStatus", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g c", | |
"command": "gitlens.showQuickCommitFileDetails", | |
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "alt+cmd+g [Period]", | |
"command": "gitlens.diffWithNext", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g ctrl+alt+[Comma]", | |
"command": "gitlens.diffLineWithPrevious", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+cmd+g ctrl+alt+[Period]", | |
"command": "gitlens.diffWithWorking", | |
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/" | |
}, | |
{ | |
"key": "alt+cmd+g w", | |
"command": "gitlens.diffLineWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "ctrl+cmd+g", | |
"command": "workbench.view.scm", | |
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'" | |
}, | |
// ! ----- | |
// ! ----- | |
// ! ----- | |
{ | |
"key": "cmd+r cmd+b", | |
"command": "workbench.action.tasks.build", | |
"args": "heroku log luxcium" | |
}, | |
{ | |
"key": "cmd+r cmd+n", | |
"command": "workbench.action.terminal.focusNext" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.terminal.kill", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+r cmd+p", | |
"command": "workbench.action.terminal.focusPrevious" | |
}, | |
{ | |
"key": "cmd+r cmd+t", | |
"command": "workbench.action.terminal.runActiveFile" | |
}, | |
{ | |
"key": "cmd+r up", | |
"command": "workbench.action.newGroupAbove" | |
}, | |
{ | |
"key": "cmd+r down", | |
"command": "workbench.action.newGroupBelow" | |
}, | |
{ | |
"key": "cmd+r left", | |
"command": "workbench.action.newGroupLeft" | |
}, | |
{ | |
"key": "cmd+r right", | |
"command": "workbench.action.newGroupRight" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.files.newUntitledFile", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "-workbench.action.files.newUntitledFile" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+o", | |
"command": "workbench.action.debug.stepOut", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+f11", | |
"command": "-workbench.action.debug.stepOut", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+i", | |
"command": "workbench.action.debug.stepInto", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f11", | |
"command": "-workbench.action.debug.stepInto", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+r", | |
"command": "workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+f5", | |
"command": "-workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+p", | |
"command": "workbench.action.debug.pause", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f6", | |
"command": "-workbench.action.debug.pause", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+x", | |
"command": "workbench.action.debug.run", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "ctrl+f5", | |
"command": "-workbench.action.debug.run", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+s", | |
"command": "workbench.action.debug.stepOver", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f10", | |
"command": "-workbench.action.debug.stepOver", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+b shift+cmd+f", | |
"command": "workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+f5", | |
"command": "-workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "cmd+e", | |
"command": "-actions.findWithSelection" | |
}, | |
{ | |
"key": "shift+cmd+[Comma]", | |
"command": "workbench.action.openSettingsJson" | |
}, | |
{ | |
"key": "alt+cmd+[Comma]", | |
"command": "workbench.action.openWorkspaceSettings" | |
}, | |
{ | |
"key": "alt+e", | |
"command": "workbench.files.action.collapseExplorerFolders" | |
}, | |
{ | |
"key": "shift+cmd+i", | |
"command": "editor.action.inspectTMScopes" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "workbench.action.reloadWindow" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "-workbench.action.reloadWindow", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "cmd+b cmd+m", | |
"command": "editor.action.toggleMinimap" | |
}, | |
{ | |
"key": "shift+cmd+f3", | |
"command": "-editor.action.previousSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+b cmd+y", | |
"command": "breadcrumbs.toggle" | |
}, | |
{ | |
"key": "cmd+b cmd+s", | |
"command": "workbench.action.toggleStatusbarVisibility" | |
}, | |
{ | |
"key": "shift+cmd+u", | |
"command": "workbench.action.search.toggleQueryDetails", | |
"when": "searchViewletVisible" | |
}, | |
{ | |
"key": "shift+cmd+j", | |
"command": "-workbench.action.search.toggleQueryDetails", | |
"when": "searchViewletVisible" | |
}, | |
{ | |
"key": "shift+cmd+y", | |
"command": "-workbench.debug.action.toggleRepl" | |
}, | |
{ | |
"key": "cmd+f3", | |
"command": "-editor.action.nextSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+d", | |
"command": "-editor.action.moveSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "expandLineSelection" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "-editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "-workbench.action.focusFifthEditorGroup" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "workbench.files.action.refreshFilesExplorer" | |
}, | |
{ | |
"key": "cmd+e", | |
"command": "workbench.files.action.focusFilesExplorer", | |
"when": "!sideBarFocus" | |
}, | |
{ | |
"key": "shift+f9", | |
"command": "-editor.debug.action.toggleInlineBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+a", | |
"command": "editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f9", | |
"command": "-editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "editor.debug.action.goToPreviousBreakpoint", | |
"when": "!editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "editor.debug.action.goToNextBreakpoint", | |
"when": "!editorTextFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "workbench.action.closeWindow" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "ctrl+alt+b", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+shift+g", | |
"command": "-workbench.view.scm" | |
}, | |
{ | |
"key": "alt+shift+s", | |
"command": "default:type", | |
"args": { | |
"text": "\n(async(someVar:any)=>{try{\n// code goes here \n\n\n}catch(error){\nconsole.log('Anonyme async function error:',error.message)\n}\nreturn someVar;\n})(null);\n" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k ctrl+alt+cmd+9", | |
"command": "-editor.foldRecursively", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+h", | |
"command": "editor.unfoldAll", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+k shift+cmd+s", | |
"command": "workbench.action.openSnippets" | |
}, | |
{ | |
"key": "shift+cmd+k s", | |
"command": "editor.action.showSnippets" | |
}, | |
{ | |
"key": "cmd+k ctrl+alt+cmd+9", | |
"command": "-editor.foldRecursively", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+j", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-toggleSuggestionDetails", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "-workbench.view.debug" | |
}, | |
{ | |
"key": "f3", | |
"command": "-editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+f3", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+g", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+g", | |
"command": "-editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+d", | |
"command": "editor.action.moveSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+g", | |
"command": "editor.action.nextSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+g", | |
"command": "editor.action.previousSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f3", | |
"command": "editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f4", | |
"command": "editor.action.previousMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "editor.action.addSelectionToPreviousFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "editor.action.moveSelectionToPreviousFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+q", | |
"command": "-workbench.action.navigateToLastEditLocation" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.terminal.newInActiveWorkspace", | |
"when": "terminalFocus && !editorTextFocus" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeActiveEditor", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeGroup", | |
"when": "activeEditorGroupEmpty && multipleEditorGroups && !terminalFocus" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeGroup", | |
"when": "activeEditorGroupEmpty && multipleEditorGroups" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "explorer.newFile", | |
"when": "filesExplorerFocus" | |
}, | |
{ | |
"key": "cmd+b cmd+down", | |
"command": "workbench.action.nextSideBarView" | |
}, | |
{ | |
"key": "cmd+b cmd+up", | |
"command": "workbench.action.previousSideBarView" | |
}, | |
{ | |
"key": "cmd+b cmd+p", | |
"command": "workbench.action.toggleScreencastMode" | |
}, | |
{ | |
"key": "cmd+b cmd+o", | |
"command": "workbench.action.toggleEditorVisibility" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "-workbench.action.togglePanel" | |
}, | |
{ | |
"key": "cmd+j cmd+j", | |
"command": "workbench.action.togglePanel" | |
}, | |
{ | |
"key": "alt+cmd+up", | |
"command": "-workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+down", | |
"command": "-workbench.action.terminal.resizePaneDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-workbench.action.terminal.resizePaneUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+;", | |
"command": "-breadcrumbs.focus", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "cmd+b cmd+i", | |
"command": "workbench.action.toggleSidebarPosition" | |
}, | |
{ | |
"key": "cmd+j cmd+e", | |
"command": "workbench.actions.view.problems" | |
}, | |
{ | |
"key": "shift+cmd+m", | |
"command": "-workbench.actions.view.problems" | |
}, | |
{ | |
"key": "shift+cmd+u", | |
"command": "-workbench.action.output.toggleOutput" | |
}, | |
{ | |
"key": "cmd+k cmd+a", | |
"command": "eslint.executeAutofix" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "-workbench.action.terminal.clear", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+j u", | |
"command": "workbench.action.output.toggleOutput" | |
}, | |
{ | |
"key": "cmd+j cmd+d", | |
"command": "workbench.debug.action.toggleRepl" | |
}, | |
{ | |
"key": "cmd+j cmd+t", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "alt+cmd+-", | |
"command": "workbench.action.decreaseViewSize" | |
}, | |
{ | |
"key": "alt+cmd+=", | |
"command": "workbench.action.increaseViewSize" | |
}, | |
{ | |
"key": "cmd+b cmd+a", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "alt+cmd+g", | |
"command": "git.commitAll" | |
}, | |
{ | |
"key": "shift+cmd+x", | |
"command": "-workbench.view.extensions" | |
}, | |
{ | |
"key": "cmd+b cmd+d", | |
"command": "workbench.view.debug" | |
}, | |
{ | |
"key": "shift+cmd+f", | |
"command": "-workbench.view.search", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+k cmd+f", | |
"command": "-editor.action.formatSelection", | |
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.quickSwitchWindow" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.switchWindow" | |
}, | |
{ | |
"key": "cmd+b cmd+b", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+cmd+left", | |
"command": "-workbench.action.terminal.resizePaneLeft", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "-deleteAllRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+backspace", | |
"command": "deleteAllRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+delete", | |
"command": "-deleteAllRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "cursorDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-cursorDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "list.focusDown", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-list.focusDown", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "showNextParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-showNextParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "ctrl+shift+n", | |
"command": "explorer.newFolder" | |
}, | |
{ | |
"key": "alt+cmd+k", | |
"command": "-keybindings.editor.recordSearchKeys", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "cmd+k cmd+j", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+a", | |
"command": "cursorLineStart", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+a", | |
"command": "-cursorLineStart", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.debug.panel.action.clearReplAction" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "cmd+j cmd+l", | |
"command": "workbench.action.positionPanelLeft" | |
}, | |
{ | |
"key": "cmd+j cmd+r", | |
"command": "workbench.action.positionPanelRight" | |
}, | |
{ | |
"key": "cmd+j cmd+b", | |
"command": "workbench.action.positionPanelBottom" | |
}, | |
{ | |
"key": "cmd+j cmd+o", | |
"command": "outline.focus" | |
}, | |
{ | |
"key": "cmd+j cmd+p", | |
"command": "workbench.panel.markers.view.focus" | |
}, | |
{ | |
"key": "cmd+e", | |
"command": "workbench.action.closeSidebar", | |
"when": "explorerViewletVisible || sideBarFocus" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "git.push" | |
}, | |
{ | |
"key": "cmd+g cmd+f", | |
"command": "git.fetch" | |
}, | |
{ | |
"key": "alt+cmd+g alt+cmd+f", | |
"command": "git.fetchPrune" | |
}, | |
{ | |
"key": "alt+cmd+x", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+u", | |
"command": "cursorRedo", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "shift+cmd+c", | |
"command": "editor.action.clipboardCopyWithSyntaxHighlightingAction" | |
}, | |
{ | |
"key": "shift+cmd+c", | |
"command": "-workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+alt+k", | |
"command": "-code-runner.runCustomCommand" | |
}, | |
{ | |
"key": "cmd+k cmd+d", | |
"command": "workbench.action.openGlobalKeybindingsFile" | |
}, | |
{ | |
"key": "alt+d", | |
"command": "bracket-select.select-include", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+a", | |
"command": "-bracket-select.select-include", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+d", | |
"command": "bracket-select.select", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+a", | |
"command": "-bracket-select.select", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+c", | |
"command": "extension.changeCase.camel", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+d", | |
"command": "extension.changeCase.dot", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+k", | |
"command": "extension.changeCase.kebab", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "extension.changeCase.lower", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+c", | |
"command": "extension.changeCase.pascal", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+s", | |
"command": "extension.changeCase.snake", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+s", | |
"command": "extension.changeCase.constant", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "extension.changeCase.upper", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+p", | |
"command": "extension.changeCase.path", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+1", | |
"command": "extension.changeCase.no", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+2", | |
"command": "extension.changeCase.commands", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+3", | |
"command": "extension.changeCase.param", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+t", | |
"command": "extension.changeCase.sentence", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+t", | |
"command": "extension.changeCase.title", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+u", | |
"command": "extension.changeCase.lowerFirst", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+u", | |
"command": "extension.changeCase.upperFirst", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+4", | |
"command": "extension.changeCase.swap", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] | |
// =====2020=====Luxcium=====Author==Benjamin=Vincent=(Luxcium)=License==MIT==== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MIT LICENSE | |
Copyright (c) 2020 Benjamin Vincent Kasapoglu (Luxcium) | |
Permission is hereby granted, free of charge, to all person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
of the Software, and to permit persons to whom the Software is furnished to do | |
so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all | |
copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ALL KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ALL CLAIM, DAMAGES OR | |
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
DEALINGS IN THE SOFTWARE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment