diff --git a/.config/VSCodium/User/keybindings.json b/.config/VSCodium/User/keybindings.json index 58da7442..a2cac8fd 100644 --- a/.config/VSCodium/User/keybindings.json +++ b/.config/VSCodium/User/keybindings.json @@ -1,303 +1,303 @@ [ - { - "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": "" - }, - { - "command": "vscode-neovim.send", - "key": "ctrl+u", - "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", - "args": "" - }, - { - "command": "vscode-neovim.send", - "key": "ctrl+f", - "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", - "args": "" - }, - { - "command": "vscode-neovim.send", - "key": "ctrl+b", - "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", - "args": "" - }, - { - "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": "" - }, - { - "command": "vscode-neovim.send", - "key": "ctrl+u", - "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", - "args": "" - }, - { - "command": "vscode-neovim.send", - "key": "ctrl+f", - "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", - "args": "" - }, - { - "command": "vscode-neovim.send", - "key": "ctrl+b", - "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", - "args": "" - }, - { - "key": "shift+h", - "command": "toggleexcludedfiles.toggle", - "when": "filesExplorerFocus" - }, - { - "key": "ctrl+shift+a", - "command": "-toggleexcludedfiles.toggle", - "when": "filesExplorerFocus" - }, - { - "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": "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" - }, -] \ No newline at end of file + { + "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": "" + }, + { + "command": "vscode-neovim.send", + "key": "ctrl+u", + "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", + "args": "" + }, + { + "command": "vscode-neovim.send", + "key": "ctrl+f", + "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", + "args": "" + }, + { + "command": "vscode-neovim.send", + "key": "ctrl+b", + "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", + "args": "" + }, + { + "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": "" + }, + { + "command": "vscode-neovim.send", + "key": "ctrl+u", + "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", + "args": "" + }, + { + "command": "vscode-neovim.send", + "key": "ctrl+f", + "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", + "args": "" + }, + { + "command": "vscode-neovim.send", + "key": "ctrl+b", + "when": "editorTextFocus && neovim.init && neovim.mode != insert || neovim.recording", + "args": "" + }, + { + "key": "shift+h", + "command": "toggleexcludedfiles.toggle", + "when": "filesExplorerFocus" + }, + { + "key": "ctrl+shift+a", + "command": "-toggleexcludedfiles.toggle", + "when": "filesExplorerFocus" + }, + { + "key": "space", + "command": "whichkey.show", + "when": "neovim.mode != 'insert' && !inputFocus" + }, + { + "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" + } +]