dotfiles/.config/VSCodium/User/keybindings.json
2024-06-01 21:47:35 +02:00

327 lines
8.7 KiB
JSON

[
{
"key": "ctrl+shift+b",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+shift+[Backslash]",
"command": "workbench.action.toggleStatusbarVisibility"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument.none",
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
},
{
"key": "ctrl+meta+numpad_add",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+m",
"command": "-workbench.actions.view.problems",
"when": "workbench.panel.markers.view.active"
},
{
"key": "ctrl+numpad_divide",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+1",
"command": "extension.liveServer.goOnline",
"when": "editorTextFocus"
},
{
"key": "alt+l alt+o",
"command": "-extension.liveServer.goOnline",
"when": "editorTextFocus"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "f11 f11",
"command": "workbench.action.toggleZenMode"
},
{
"key": "ctrl+k z",
"command": "-workbench.action.toggleZenMode"
},
{
"key": "shift+f11",
"command": "workbench.action.debug.stepIntoTarget",
"when": "inDebugMode && stepIntoTargetsSupported && debugState == 'stopped'"
},
{
"key": "ctrl+f11",
"command": "-workbench.action.debug.stepIntoTarget",
"when": "inDebugMode && stepIntoTargetsSupported && debugState == 'stopped'"
},
{
"key": "ctrl+b",
"command": "-lineHighlightBookmark.toogleBookmarks",
"when": "editorTextFocus"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+\\",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+alt+p",
"command": "workbench.action.showAllEditors"
},
{
"key": "ctrl+k ctrl+p",
"command": "-workbench.action.showAllEditors"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.files.openFolder",
"when": "openFolderWorkspaceSupport"
},
{
"key": "ctrl+k ctrl+o",
"command": "-workbench.action.files.openFolder",
"when": "openFolderWorkspaceSupport"
},
{
"key": "shift+alt+left",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.toggleTabsVisibility"
},
{
"key": "ctrl+shift+t",
"command": "-workbench.action.reopenClosedEditor"
},
{
"key": "ctrl+shift+b",
"command": "-workbench.action.tasks.build",
"when": "taskCommandsRegistered"
},
{
"key": "ctrl+k left",
"command": "-workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "ctrl+alt+left",
"command": "-workbench.action.moveEditorToPreviousGroup"
},
{
"key": "ctrl+alt+right",
"command": "-workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+k right",
"command": "-workbench.action.moveActiveEditorGroupRight"
},
{
"key": "ctrl+k up",
"command": "-workbench.action.moveActiveEditorGroupUp"
},
{
"key": "ctrl+k down",
"command": "-workbench.action.moveActiveEditorGroupDown"
},
{
"key": "ctrl+alt+down",
"command": "workbench.action.moveEditorToBelowGroup"
},
{
"key": "ctrl+alt+up",
"command": "workbench.action.moveEditorToAboveGroup"
},
{
"key": "ctrl+alt+left",
"command": "workbench.action.moveEditorToLeftGroup"
},
{
"key": "ctrl+alt+right",
"command": "workbench.action.moveEditorToRightGroup"
},
{
"key": "ctrl+m",
"command": "editor.action.toggleMinimap"
},
{
"key": "ctrl+shift+m",
"command": "-rust-analyzer.matchingBrace",
"when": "editorTextFocus && editorLangId == 'rust'"
},
{
"key": "ctrl+m",
"command": "-markdown.extension.editing.toggleMath",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^quarto$/"
},
{
"key": "ctrl+m",
"command": "-editor.action.toggleTabFocusMode"
},
{
"key": "ctrl+d",
"command": "-vscode-neovim.ctrl-d",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"key": "ctrl+u",
"command": "-vscode-neovim.ctrl-u",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"key": "ctrl+f",
"command": "-vscode-neovim.ctrl-f",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"key": "ctrl+b",
"command": "-vscode-neovim.ctrl-b",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+d",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-D>"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+u",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-U>"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+f",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-F>"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+b",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-B>"
},
{
"key": "ctrl+d",
"command": "-vscode-neovim.ctrl-d",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"key": "ctrl+u",
"command": "-vscode-neovim.ctrl-u",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"key": "ctrl+f",
"command": "-vscode-neovim.ctrl-f",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"key": "ctrl+b",
"command": "-vscode-neovim.ctrl-b",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+d",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-D>"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+u",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-U>"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+f",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-F>"
},
{
"command": "vscode-neovim.send",
"key": "ctrl+b",
"when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording",
"args": "<C-B>"
},
{
"key": "shift+h",
"command": "toggleexcludedfiles.toggle",
"when": "filesExplorerFocus"
},
{
"key": "ctrl+shift+a",
"command": "-toggleexcludedfiles.toggle",
"when": "filesExplorerFocus"
},
{
"key": "space",
"command": "whichkey.show",
"when": "!inputFocus && neovim.mode != 'insert' && !codeium.chatPanelView.active && !codeium.searchPanelView.active"
},
{
"key": "alt+enter",
"command": "editor.action.inlineSuggest.commit",
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible"
},
{
"key": "tab",
"command": "-editor.action.inlineSuggest.commit",
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible"
},
{
"key": "] d",
"command": "editor.action.marker.next",
"when": "editorFocus"
},
{
"key": "alt+f8",
"command": "-editor.action.marker.next",
"when": "editorFocus"
},
{
"key": "[ d",
"command": "editor.action.marker.prev",
"when": "editorFocus"
},
{
"key": "shift+alt+f8",
"command": "-editor.action.marker.prev",
"when": "editorFocus"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
}
]