💄 style(vscodium): change identation for the keybindings file to 2 spaces

This commit is contained in:
Sergio Laín 2024-01-21 19:03:44 +01:00
parent 20ecdac0b1
commit db2ddc26ed
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

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