Files
Config/VSCode/keybindings.json
T
2026-09-14 08:06:15 +02:00

183 lines
5.4 KiB
JSON

// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+alt+c",
"command": "editor.action.transformToLowercase"
},
{
"key": "ctrl+alt+c",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
"when": "!activeEditorGroupEmpty"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
"when": "!activeEditorGroupEmpty"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+tab",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_6",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+left",
"command": "-workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "alt+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+left",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+left",
"command": "editor.action.moveCarretLeftAction"
},
{
"key": "alt+right",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+right",
"command": "editor.action.moveCarretRightAction"
},
{
"key": "ctrl+shift+alt+s",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "workbench.action.reloadWindow"
},
{
"key": "ctrl+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+shift+alt+x",
"command": "git.openChange",
"when": "workbench.explorer.fileView.active"
},
{
"key": "ctrl+shift+alt+x",
"command": "git.openFile",
"when": "isInDiffEditor"
},
{
"key": "alt+i tab",
"command": "editor.action.indentationToTabs"
},
{
"key": "alt+i space",
"command": "editor.action.indentationToSpaces"
},
{
"key": "ctrl+shift+alt+left",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "browserback",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "ctrl+shift+alt+right",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "browserforward",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "ctrl+alt+right",
"command": "-workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+shift+alt+right",
"command": "-cursorColumnSelectRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+left",
"command": "-cursorColumnSelectLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+n",
"command": "-workbench.action.chat.newChat",
"when": "chatIsEnabled && inChat && chatLocation == 'panel'"
},
{
"key": "ctrl+n",
"command": "-workbench.action.openChat",
"when": "chatIsEnabled && inChat && inChatEditor"
},
{
"key": "ctrl+n",
"command": "-chatEditor.action.undoHunk",
"when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "-chatEditor.action.reject",
"when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified"
},
{
"key": "ctrl+shift+alt+w",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "-workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
}
]