Last active
July 18, 2024 18:14
-
-
Save codewithleader/e7015c4cce5ae3ece87f65e4921025e5 to your computer and use it in GitHub Desktop.
keybindings: Configuración de atajos en VSCode
This file contains 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": "f3", | |
"command": "-editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f3", | |
"command": "-workbench.action.terminal.findNext", | |
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "f3", | |
"command": "-list.find", | |
"when": "listFocus && listSupportsFind" | |
}, | |
{ | |
"key": "f3", | |
"command": "editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "ctrl+f4", | |
"command": "-workbench.action.terminal.killEditor", | |
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'" | |
}, | |
{ | |
"key": "ctrl+shift+oem_3", | |
"command": "-workbench.action.terminal.new", | |
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+oem_3", | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.terminal.killEditor", | |
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'" | |
}, | |
{ | |
"key": "ctrl+shift+oem_3", | |
"command": "workbench.action.terminal.kill" | |
}, | |
{ | |
"key": "f4", | |
"command": "-references-view.next", | |
"when": "reference-list.hasResult && references-view.canNavigate" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "-references-view.prev", | |
"when": "reference-list.hasResult && references-view.canNavigate" | |
}, | |
{ | |
"key": "f4", | |
"command": "-search.action.focusNextSearchResult", | |
"when": "hasSearchResult || inSearchEditor" | |
}, | |
{ | |
"key": "f4", | |
"command": "-goToNextReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "-goToPreviousReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "-search.action.focusPreviousSearchResult", | |
"when": "hasSearchResult || inSearchEditor" | |
}, | |
{ | |
"key": "f4", | |
"command": "workbench.files.action.collapseExplorerFolders" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "ctrl+f4", | |
"command": "workbench.action.closeAllEditors" | |
}, | |
{ | |
"key": "ctrl+k ctrl+w", | |
"command": "-workbench.action.closeAllEditors" | |
}, | |
{ | |
"key": "ctrl+f4", | |
"command": "-workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "workbench.action.files.saveFiles" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.gotoNextSymbolFromResult", | |
"when": "hasSymbols" | |
}, | |
{ | |
"key": "f12", | |
"command": "-goToNextReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "-cursorUndo", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "editor.action.transformToLowercase" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-notebook.centerActiveCell", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-workbench.action.chat.clear", | |
"when": "hasChatProvider && inChat" | |
}, | |
{ | |
"key": "ctrl+e ctrl+e", | |
"command": "sqltools.executeCurrentQuery" | |
}, | |
{ | |
"key": "ctrl+e ctrl+e", | |
"command": "-sqltools.executeQuery", | |
"when": "editorHasSelection && editorTextFocus && !config.sqltools.disableChordKeybindings" | |
}, | |
{ | |
"key": "f9", | |
"command": "editor.emmet.action.wrapWithAbbreviation" | |
}, | |
{ | |
"key": "f9", | |
"command": "-workbench.action.chat.nextCodeBlock", | |
"when": "hasChatProvider && inChat" | |
}, | |
{ | |
"key": "f9", | |
"command": "-editor.debug.action.toggleBreakpoint", | |
"when": "debuggersAvailable && editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+f3", | |
"command": "prettier.forceFormatDocument" | |
}, | |
{ | |
"key": "ctrl+f3", | |
"command": "-editor.action.nextSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "workbench.action.closePanel" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "-editor.action.accessibleViewGoToSymbol", | |
"when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "-breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsPossible && breadcrumbsVisible" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "docs.write", | |
"when": "false" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-docs.write", | |
"when": "false" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "docs.write", | |
"when": "editorTextFocus && config.docwriter.hotkey.windows == 'Ctrl + .' && editorLangId =~ /typescript|javascript|python|php|java|c|cpp|csharp|dart|ruby|go|rust/" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-docs.write", | |
"when": "editorTextFocus && config.docwriter.hotkey.windows == 'Ctrl + .' && editorLangId =~ /typescript|javascript|python|php|java|c|cpp|csharp|dart|ruby|go|rust/" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "-editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-acceptSelectedCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "-breadcrumbs.toggleToOn", | |
"when": "!config.breadcrumbs.enabled" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-editor.changeDropType", | |
"when": "dropWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-editor.changePasteType", | |
"when": "pasteWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+oem_period", | |
"command": "-problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "ctrl+alt+l", | |
"command": "-bookmarks.jumpToNext", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f8", | |
"command": "-editor.action.marker.nextInFiles", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f8", | |
"command": "turboConsoleLog.displayLogMessage" | |
}, | |
{ | |
"key": "ctrl+alt+l", | |
"command": "-turboConsoleLog.displayLogMessage" | |
}, | |
{ | |
"key": "ctrl+oem_3", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+shift+g", | |
"command": "-workbench.action.terminal.openDetectedLink", | |
"when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'" | |
}, | |
{ | |
"key": "ctrl+shift+g g", | |
"command": "-workbench.view.scm", | |
"when": "workbench.scm.active && !gitlens:disabled && config.gitlens.keymap == 'chorded'" | |
}, | |
{ | |
"key": "ctrl+shift+g g", | |
"command": "workbench.view.scm", | |
"when": "workbench.scm.active" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "workbench.action.terminal.new" | |
}, | |
{ | |
"key": "f6", | |
"command": "-workbench.action.debug.pause", | |
"when": "debugState == 'running'" | |
}, | |
{ | |
"key": "f6", | |
"command": "-workbench.action.focusNextPart" | |
}, | |
{ | |
"key": "f6", | |
"command": "extension.conventionalCommits" | |
}, | |
{ | |
"key": "ctrl+shift+m", | |
"command": "workbench.action.toggleZenMode", | |
"when": "!isAuxiliaryWindowFocusedContext" | |
}, | |
{ | |
"key": "ctrl+k z", | |
"command": "-workbench.action.toggleZenMode", | |
"when": "!isAuxiliaryWindowFocusedContext" | |
}, | |
{ | |
"key": "ctrl+shift+m", | |
"command": "-workbench.actions.view.problems", | |
"when": "workbench.panel.markers.view.active" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "-editor.action.toggleTabFocusMode" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment