Skip to content

Instantly share code, notes, and snippets.

@MarlonPassos-git
Last active November 10, 2024 20:23
Show Gist options
  • Select an option

  • Save MarlonPassos-git/2744baf0a050a519b37184f2d5324761 to your computer and use it in GitHub Desktop.

Select an option

Save MarlonPassos-git/2744baf0a050a519b37184f2d5324761 to your computer and use it in GitHub Desktop.
VSCode config
// Coloque as suas associações de teclas neste arquivo para substituir os padrõesauto[]
[
{
"key": "alt+e",
"command": "HookyQR.beautifyFile"
},
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "alt+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "alt+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "alt+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "alt+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "alt+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "alt+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "alt+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "alt+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "alt+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "alt+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "alt+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+alt+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "alt+3",
"command": "workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "alt+8",
"command": "workbench.action.focusEighthEditorGroup"
},
{
"key": "ctrl+8",
"command": "-workbench.action.focusEighthEditorGroup"
},
{
"key": "alt+5",
"command": "workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "alt+4",
"command": "workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "alt+7",
"command": "workbench.action.focusSeventhEditorGroup"
},
{
"key": "ctrl+7",
"command": "-workbench.action.focusSeventhEditorGroup"
},
{
"key": "alt+6",
"command": "workbench.action.focusSixthEditorGroup"
},
{
"key": "ctrl+6",
"command": "-workbench.action.focusSixthEditorGroup"
},
{
"key": "ctrl+f1",
"command": "workbench.action.files.saveFiles"
},
{
"key": "ctrl+n",
"command": "extension.advancedNewFile"
},
{
"key": "ctrl+alt+n",
"command": "-extension.advancedNewFile"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+alt+r",
"command": "workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "tab",
"command": "markdown.extension.onTabKey",
"when": "editorTextFocus && !inlineSuggestionVisible && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "tab",
"command": "-markdown.extension.onTabKey",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "ctrl+'",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+g ctrl+h",
"command": "workbench.action.moveEditorToLeftGroup"
},
{
"key": "ctrl+g ctrl+l",
"command": "workbench.action.moveEditorToRightGroup"
},
{
"key": "ctrl+p",
"command": "-extension.vim_ctrl+p",
"when": "editorTextFocus && vim.active && vim.use<C-p> && !inDebugRepl || vim.active && vim.use<C-p> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || vim.active && vim.use<C-p> && !inDebugRepl && vim.mode == 'SearchInProgressMode'"
},
{
"key": "ctrl+k",
"command": "vim.showQuickpickCmdLine",
"when": "editorTextFocus && vim.mode != 'Insert'"
},
{
"key": "alt+j",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "alt+k",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus"
}
]
{
"createTestFile.languages": {
"[typescript]": {
"createTestFile.nameTemplate": "{filename}.spec.{extension}"
}
},
"createTestFile.pathMaps": [
{
"pathPattern": "src/?(.*)(/[a-z-]*.ts)?", // Regex file path matcher
"testFilePathPattern": "src/$1/__tests__/$2" // Regex test file path generator
}
],
"editor.accessibilitySupport": "off",
"explorer.compactFolders": false,
"github.copilot.editor.enableAutoCompletions": true,
"github.copilot.enable": {
"*": true,
"go": false,
"markdown": true,
"plaintext": false,
"scminput": false
},
"javascript.updateImportsOnFileMove.enabled": "always",
"prisma.showPrismaDataPlatformNotification": false,
"redhat.telemetry.enabled": true,
"sonarlint.connectedMode.connections.sonarqube": [
{
"connectionId": "https-sonarqube-ecommercetools-com-br-",
"serverUrl": "https://sonarqube.ecommercetools.com.br"
}
],
"sonarlint.focusOnNewCode": false,
"translateIt.targetLanguage": "English",
"typescript.updateImportsOnFileMove.enabled": "always",
"vim.easymotion": true,
"vim.leader": "/",
"vim.normalModeKeyBindings": [
{
"before": ["<leader>", "a"],
"commands": ["workbench.view.explorer"]
}
],
"vim.useSystemClipboard": true,
"vva.trustedDomain": true,
"workbench.iconTheme": "material-icon-theme",
"yaml.schemas": {
"file:///c%3A/Users/marlo/.vscode/extensions/atlassian.atlascode-3.0.10/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment