Skip to content

Instantly share code, notes, and snippets.

@pduartesilva2005
Created June 26, 2021 15:26
Show Gist options
  • Select an option

  • Save pduartesilva2005/842f7e6d0ca6e1470ea51b99af19b71f to your computer and use it in GitHub Desktop.

Select an option

Save pduartesilva2005/842f7e6d0ca6e1470ea51b99af19b71f to your computer and use it in GitHub Desktop.
Atalhos do VS Code
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+numpad_divide",
"command": "editor.foldAllBlockComments",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+oem_2",
"command": "-editor.foldAllBlockComments",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+abnt_c1",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+oem_3",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+shift+numpad_divide",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+abnt_c1",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_2",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+x",
"command": "editor.action.clipboardCutAction"
},
{
"key": "shift+delete",
"command": "-editor.action.clipboardCutAction"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.openSettingsJson"
},
{
"key": "ctrl+alt+s",
"command": "workbench.action.openSettings"
},
{
"key": "ctrl+oem_comma",
"command": "-workbench.action.openSettings"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+k ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+delete",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+l",
"command": "workbench.action.terminal.clearSelection",
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected && !terminalFindVisible"
},
{
"key": "escape",
"command": "-workbench.action.terminal.clearSelection",
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected && !terminalFindVisible"
},
{
"key": "ctrl+alt+j",
"command": "workbench.action.openDefaultKeybindingsFile"
},
{
"key": "tab",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_6",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+backspace",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.terminal.clear"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.closeAllEditors"
},
{
"key": "ctrl+k ctrl+w",
"command": "-workbench.action.closeAllEditors"
},
{
"key": "ctrl+alt+e",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "ctrl+k ctrl+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "-editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment