Created
March 28, 2025 16:42
-
-
Save kodmanyagha/4a0d4c430a07283302b943731a8bcf0a to your computer and use it in GitHub Desktop.
vscode keybindings.json
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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "shift+ctrl+f", | |
"command": "-workbench.view.search", | |
"when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" | |
}, | |
{ | |
"key": "shift+ctrl+f", | |
"command": "-workbench.action.terminal.searchWorkspace", | |
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected" | |
}, | |
{ | |
"key": "shift+ctrl+f", | |
"command": "-workbench.action.findInFiles" | |
}, | |
{ | |
"key": "ctrl+k ctrl+f", | |
"command": "-editor.action.formatSelection", | |
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "editor.action.formatDocument" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup", | |
"when": "!activeEditorGroupEmpty" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup", | |
"when": "!activeEditorGroupEmpty" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "alt+ctrl+right", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "alt+ctrl+left", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+ctrl+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+ctrl+up", | |
"command": "-cursorTopSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+ctrl+up", | |
"command": "-list.collapseAll", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "shift+ctrl+up", | |
"command": "-workbench.action.terminal.selectToPreviousCommand", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+ctrl+up", | |
"command": "-editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+ctrl+down", | |
"command": "-workbench.action.terminal.selectToNextCommand", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "shift+ctrl+down", | |
"command": "-cursorBottomSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+ctrl+down", | |
"command": "-editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus && findInputFocussed" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-notebook.cell.executeAndSelectBelow", | |
"when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-workbench.action.terminal.findNext", | |
"when": "terminalFindInputFocused && terminalHasBeenCreated || terminalFindInputFocused && terminalProcessSupported" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-acceptAlternativeSelectedSuggestion", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-acceptRenameInputWithPreview", | |
"when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.action.extensioneditor.findPrevious", | |
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.action.webvieweditor.findPrevious", | |
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.refocusCallHierarchy", | |
"when": "callHierarchyVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.refocusTypeHierarchy", | |
"when": "typeHierarchyVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-refactorPreview.apply", | |
"when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-workbench.action.terminal.sendSequence", | |
"when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "-editor.action.refactor", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "-workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", | |
"when": "inQuickOpen && inRecentFilesPicker" | |
}, | |
{ | |
"key": "shift shift", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "editor.action.rename" | |
}, | |
{ | |
"key": "shift+ctrl+c", | |
"command": "-workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "shift+ctrl+t", | |
"command": "-workbench.action.reopenClosedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "editor.action.revealDefinition" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-testing.editFocusedTest", | |
"when": "focusedView == 'workbench.view.testing'" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-editor.action.selectAllMatches", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-notebook.cell.executeAndInsertBelow", | |
"when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" | |
}, | |
{ | |
"key": "ctrl+[Slash]", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.quickFix" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "workbench.action.findInFiles" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.terminal.killEditor", | |
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'" | |
}, | |
{ | |
"key": "shift+ctrl+d", | |
"command": "-workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "shift+ctrl+d", | |
"command": "workbench.action.closePanel" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "-workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "-workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "-workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "-workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "-workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "-workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "-workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "-workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "-workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "-workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "-workbench.action.focusSecondEditorGroup" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "-workbench.action.focusThirdEditorGroup" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "-workbench.action.focusEighthEditorGroup" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "-workbench.action.focusFifthEditorGroup" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "-workbench.action.focusFourthEditorGroup" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "-workbench.action.focusSeventhEditorGroup" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "-workbench.action.focusSixthEditorGroup" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "delete", | |
"command": "-workbench.action.terminal.killInstance", | |
"when": "terminalHasBeenCreated && terminalTabsFocus || terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+backspace", | |
"command": "-workbench.action.terminal.killInstance", | |
"when": "terminalHasBeenCreated && terminalTabsFocus || terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+alt+ctrl+pageup", | |
"command": "workbench.action.zoomIn" | |
}, | |
{ | |
"key": "ctrl+alt+ctrl+pagedown", | |
"command": "workbench.action.zoomOut" | |
}, | |
{ | |
"key": "shift+ctrl+0", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "ctrl+ctrl+0", | |
"command": "workbench.action.zoomReset" | |
}, | |
{ | |
"key": "alt+ctrl+r", | |
"command": "-revealFileInOS", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "shift+ctrl+s", | |
"command": "-workbench.action.files.saveAs" | |
}, | |
{ | |
"key": "shift+ctrl+s", | |
"command": "-workbench.action.files.saveLocalFile", | |
"when": "remoteFileDialogVisible" | |
}, | |
{ | |
"key": "shift+alt+s", | |
"command": "workbench.files.action.showActiveFileInExplorer" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "renameFile", | |
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-renameFile", | |
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "backspace", | |
"command": "explorer.openAndPassFocus", | |
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "-explorer.openAndPassFocus", | |
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.navigateBack", | |
"when": "canNavigateBack" | |
}, | |
{ | |
"key": "shift+ctrl+left", | |
"command": "-cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+ctrl+left", | |
"command": "-workbench.action.terminal.sendSequence", | |
"when": "terminalFocus && terminalShellType == 'pwsh'" | |
}, | |
{ | |
"key": "shift+alt+left", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.navigateForward", | |
"when": "canNavigateForward" | |
}, | |
{ | |
"key": "shift+ctrl+right", | |
"command": "-cursorEndSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+ctrl+right", | |
"command": "-workbench.action.terminal.sendSequence", | |
"when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" | |
}, | |
{ | |
"key": "shift+alt+right", | |
"command": "workbench.action.navigateForward" | |
}, | |
{ | |
"key": "ctrl+alt+l", | |
"command": "-turboConsoleLog.displayLogMessage" | |
}, | |
{ | |
"key": "ctrl+q", | |
"command": "-workbench.action.quit" | |
}, | |
{ | |
"key": "ctrl+shift+q", | |
"command": "workbench.action.quit" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-workbench.action.reloadWindow", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "ctrl+alt+meta+r", | |
"command": "workbench.action.reloadWindow" | |
}, | |
{ | |
"key": "shift+alt+c", | |
"command": "workbench.files.action.collapseExplorerFolders" | |
}, | |
{ | |
"key": "ctrl+alt+ctrl+n", | |
"command": "-welcome.showNewFileEntries" | |
}, | |
{ | |
"key": "ctrl+shift+n", | |
"command": "explorer.newFile", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+b", | |
"command": "explorer.newFolder", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+ctrl+w", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "shift+ctrl+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "ctrl+shift+ctrl+o", | |
"command": "editor.action.organizeImports", | |
"when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "shift+alt+o", | |
"command": "-editor.action.organizeImports", | |
"when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-workbench.action.terminal.goToRecentDirectory", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-workbench.action.terminal.findNext", | |
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "workbench.action.gotoLine" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-workbench.action.gotoLine" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "-workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "-workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "ctrl+oem_3", | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "shift+alt+t", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "shift+alt+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"key": "shift+alt+l", | |
"command": "turboConsoleLog.displayLogMessage" | |
}, | |
{ | |
"key": "shift+alt+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+s", | |
"command": "workbench.action.files.save" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "editor.action.quickFix" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k m", | |
"command": "-workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+k ctrl+alt+c", | |
"command": "-workbench.action.addComment" | |
}, | |
{ | |
"key": "ctrl+k ctrl+alt+down", | |
"command": "-editor.action.nextCommentingRange", | |
"when": "accessibilityModeEnabled && commentFocused || accessibilityModeEnabled && editorFocus || accessibilityHelpIsShown && accessibilityModeEnabled && accessibleViewCurrentProviderId == 'comments'" | |
}, | |
{ | |
"key": "ctrl+k v", | |
"command": "-markdown.showPreviewToSide", | |
"when": "!notebookEditorFocused && editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "ctrl+k ctrl+alt+up", | |
"command": "-editor.action.previousCommentingRange", | |
"when": "accessibilityModeEnabled && commentFocused || accessibilityModeEnabled && editorFocus || accessibilityHelpIsShown && accessibilityModeEnabled && accessibleViewCurrentProviderId == 'comments'" | |
}, | |
{ | |
"key": "ctrl+k ctrl+[Backslash]", | |
"command": "-editor.createFoldingRangeFromSelection", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+i", | |
"command": "-editor.debug.action.showDebugHover", | |
"when": "editorTextFocus && inDebugMode" | |
}, | |
{ | |
"key": "ctrl+k ctrl+k", | |
"command": "-editor.action.defineKeybinding", | |
"when": "resource == 'vscode-userdata:/home/emir/.config/Code/User/keybindings.json'" | |
}, | |
{ | |
"key": "ctrl+k e", | |
"command": "-workbench.files.action.focusOpenEditorsView", | |
"when": "workbench.explorer.openEditorsView.active" | |
}, | |
{ | |
"key": "ctrl+k c", | |
"command": "-workbench.files.action.compareWithClipboard" | |
}, | |
{ | |
"key": "ctrl+k d", | |
"command": "-workbench.files.action.compareWithSaved" | |
}, | |
{ | |
"key": "ctrl+k ctrl+alt+c", | |
"command": "-copyFilePath", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+i", | |
"command": "-workbench.action.showTreeHover", | |
"when": "customTreeView && listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+alt+c", | |
"command": "-copyRelativeFilePath", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+o", | |
"command": "-workbench.action.files.openFolder", | |
"when": "openFolderWorkspaceSupport" | |
}, | |
{ | |
"key": "ctrl+k s", | |
"command": "-workbench.action.files.saveWithoutFormatting" | |
}, | |
{ | |
"key": "ctrl+k ctrl+p", | |
"command": "-workbench.action.showAllEditors" | |
}, | |
{ | |
"key": "ctrl+k ctrl+0", | |
"command": "-editor.foldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+7", | |
"command": "-editor.foldAllBlockComments", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+-", | |
"command": "-editor.foldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+8", | |
"command": "-editor.foldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+1", | |
"command": "-editor.foldLevel1", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+2", | |
"command": "-editor.foldLevel2", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+3", | |
"command": "-editor.foldLevel3", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+4", | |
"command": "-editor.foldLevel4", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+5", | |
"command": "-editor.foldLevel5", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+6", | |
"command": "-editor.foldLevel6", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+7", | |
"command": "-editor.foldLevel7", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+r", | |
"command": "-git.revertSelectedRanges", | |
"when": "isInDiffEditor && !operationInProgress" | |
}, | |
{ | |
"key": "ctrl+k ctrl+alt+s", | |
"command": "-git.stageSelectedRanges", | |
"when": "isInDiffEditor && !operationInProgress" | |
}, | |
{ | |
"key": "ctrl+k ctrl+n", | |
"command": "-git.unstageSelectedRanges", | |
"when": "isInDiffEditor && !operationInProgress" | |
}, | |
{ | |
"key": "ctrl+k ctrl+q", | |
"command": "-workbench.action.navigateToLastEditLocation" | |
}, | |
{ | |
"key": "ctrl+k ctrl+r", | |
"command": "-workbench.action.keybindingsReference" | |
}, | |
{ | |
"key": "ctrl+k i", | |
"command": "-inlineChat.start", | |
"when": "editorFocus && inlineChatHasProvider && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+d", | |
"command": "-editor.action.moveSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "-notebook.cell.collapseCellInput", | |
"when": "notebookCellListFocused && !inputFocus && !notebookCellInputIsCollapsed" | |
}, | |
{ | |
"key": "ctrl+k t", | |
"command": "-notebook.cell.collapseCellOutput", | |
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus && !notebookCellOutputIsCollapsed" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "-notebook.cell.expandCellInput", | |
"when": "notebookCellInputIsCollapsed && notebookCellListFocused" | |
}, | |
{ | |
"key": "ctrl+k t", | |
"command": "-notebook.cell.expandCellOutput", | |
"when": "notebookCellListFocused && notebookCellOutputIsCollapsed" | |
}, | |
{ | |
"key": "ctrl+k y", | |
"command": "-notebook.cell.toggleOutputScrolling", | |
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+n", | |
"command": "-notifications.showList" | |
}, | |
{ | |
"key": "ctrl+k f12", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+k ctrl+f12", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && isWeb && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+k ctrl+t", | |
"command": "-workbench.action.selectTheme" | |
}, | |
{ | |
"key": "ctrl+k ctrl+s", | |
"command": "-workbench.action.openGlobalKeybindings" | |
}, | |
{ | |
"key": "ctrl+k ctrl+u", | |
"command": "-editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+[Slash]", | |
"command": "-editor.removeManualFoldingRanges", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+k", | |
"command": "-editor.action.selectFromAnchorToCursor", | |
"when": "editorTextFocus && selectionAnchorSet" | |
}, | |
{ | |
"key": "ctrl+k ctrl+b", | |
"command": "-editor.action.setSelectionAnchor", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+i", | |
"command": "-editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+i", | |
"command": "-workbench.action.terminal.focusHover", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalIsOpen || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+l", | |
"command": "-editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+x", | |
"command": "-editor.action.trimTrailingWhitespace", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+j", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+0", | |
"command": "-editor.unfoldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+9", | |
"command": "-editor.unfoldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+w", | |
"command": "-workbench.action.closeAllGroups" | |
}, | |
{ | |
"key": "ctrl+k ctrl+w", | |
"command": "-workbench.action.closeAllEditors" | |
}, | |
{ | |
"key": "ctrl+k w", | |
"command": "-workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "ctrl+k u", | |
"command": "-workbench.action.closeUnmodifiedEditors" | |
}, | |
{ | |
"key": "ctrl+k o", | |
"command": "-workbench.action.copyEditorToNewWindow", | |
"when": "activeEditor" | |
}, | |
{ | |
"key": "ctrl+k ctrl+up", | |
"command": "-workbench.action.focusAboveGroup" | |
}, | |
{ | |
"key": "ctrl+k ctrl+down", | |
"command": "-workbench.action.focusBelowGroup" | |
}, | |
{ | |
"key": "ctrl+k ctrl+left", | |
"command": "-workbench.action.focusLeftGroup" | |
}, | |
{ | |
"key": "ctrl+k ctrl+right", | |
"command": "-workbench.action.focusRightGroup" | |
}, | |
{ | |
"key": "ctrl+k enter", | |
"command": "-workbench.action.keepEditor" | |
}, | |
{ | |
"key": "ctrl+k down", | |
"command": "-workbench.action.moveActiveEditorGroupDown" | |
}, | |
{ | |
"key": "ctrl+k left", | |
"command": "-workbench.action.moveActiveEditorGroupLeft" | |
}, | |
{ | |
"key": "ctrl+k right", | |
"command": "-workbench.action.moveActiveEditorGroupRight" | |
}, | |
{ | |
"key": "ctrl+k up", | |
"command": "-workbench.action.moveActiveEditorGroupUp" | |
}, | |
{ | |
"key": "ctrl+k ctrl+pagedown", | |
"command": "-workbench.action.nextEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+k ctrl+pageup", | |
"command": "-workbench.action.previousEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+k shift+enter", | |
"command": "-workbench.action.pinEditor", | |
"when": "!activeEditorIsPinned" | |
}, | |
{ | |
"key": "ctrl+k ctrl+m", | |
"command": "-workbench.action.toggleMaximizeEditorGroup", | |
"when": "editorPartMaximizedEditorGroup || editorPartMultipleEditorGroups" | |
}, | |
{ | |
"key": "ctrl+k ctrl+h", | |
"command": "-workbench.action.output.toggleOutput", | |
"when": "workbench.panel.output.active" | |
}, | |
{ | |
"key": "ctrl+k z", | |
"command": "-workbench.action.toggleZenMode", | |
"when": "!isAuxiliaryWindowFocusedContext" | |
}, | |
{ | |
"key": "ctrl+k shift+enter", | |
"command": "-workbench.action.unpinEditor", | |
"when": "activeEditorIsPinned" | |
}, | |
{ | |
"key": "ctrl+k f", | |
"command": "-workbench.action.closeFolder", | |
"when": "emptyWorkspaceSupport && workbenchState != 'empty'" | |
}, | |
{ | |
"key": "ctrl+k ctrl+a", | |
"command": "-keybindings.editor.addKeybinding", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+e", | |
"command": "-keybindings.editor.defineWhenExpression", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "ctrl+k i", | |
"command": "-notebook.cell.chat.start", | |
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+k f2", | |
"command": "-togglePeekWidgetFocus", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "ctrl+k down", | |
"command": "-views.moveViewDown", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "ctrl+k left", | |
"command": "-views.moveViewLeft", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "ctrl+k right", | |
"command": "-views.moveViewRight", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "ctrl+k up", | |
"command": "-views.moveViewUp", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "ctrl+k shift+o", | |
"command": "-workbench.action.compareEditor.openSide", | |
"when": "inDiffEditor" | |
}, | |
{ | |
"key": "ctrl+k p", | |
"command": "-workbench.action.files.copyPathOfActiveFile" | |
}, | |
{ | |
"key": "ctrl+k ctrl+o", | |
"command": "-workbench.action.files.openLocalFolder", | |
"when": "remoteFileDialogVisible" | |
}, | |
{ | |
"key": "ctrl+k r", | |
"command": "-workbench.action.files.revealActiveFileInWindows" | |
}, | |
{ | |
"key": "alt+k", | |
"command": "-keybindings.editor.recordSearchKeys", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-workbench.action.chat.newChat", | |
"when": "chatIsEnabled && inChat" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-notebook.centerActiveCell", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "shift+alt+w", | |
"command": "workbench.action.switchWindow" | |
}, | |
{ | |
"key": "shift+alt+7", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+7", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+s", | |
"command": "rust-analyzer.stopServer" | |
}, | |
{ | |
"key": "ctrl+k s", | |
"command": "-saveAll" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "saveAll" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.terminal.clear" | |
}, | |
{ | |
"key": "ctrl+shift+alt+r", | |
"command": "rust-analyzer.startServer" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-filesExplorer.findInFolder", | |
"when": "explorerResourceIsFolder && filesExplorerFocus && foldersViewVisible && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-search.action.restrictSearchToFolder", | |
"when": "folderMatchWithResourceFocus && searchViewletVisible" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment