Skip to content

Instantly share code, notes, and snippets.

@sar
Created April 21, 2022 18:32
Show Gist options
  • Save sar/44cba9e508cb7d7c122890074e787f09 to your computer and use it in GitHub Desktop.
Save sar/44cba9e508cb7d7c122890074e787f09 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "alt+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "alt+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "alt+x",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+n",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "shift+alt+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+`",
"command": "-workbench.action.selectTheme"
},
{
"key": "shift+alt+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+f6",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+r",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "shift+f6",
"command": "-renameFile",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "shift+alt+m",
"command": "explorer.newFolder"
},
{
"key": "alt+a",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "shift+alt+z",
"command": "editor.action.toggleWordWrap"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
{
"key": "ctrl+shift+'",
"command": "editor.togglequotes"
},
{
"key": "ctrl+'",
"command": "-editor.togglequotes"
},
{
"key": "alt+z",
"command": "workbench.action.showCommands"
},
{
"key": "ctrl+shift+p",
"command": "-workbench.action.showCommands"
},
{
"key": "ctrl+shift+p",
"command": "workbench.action.showCommands"
},
{
"key": "ctrl+alt+,",
"command": "workbench.action.openSettings"
},
{
"key": "ctrl+,",
"command": "-workbench.action.openSettings"
},
{
"key": "ctrl+alt+.",
"command": "workbench.action.editorLayoutTwoColumns"
},
{
"key": "ctrl+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+.",
"command": "workbench.action.focusNextGroup",
"when": "editorFocus"
},
{
"key": "alt+tab",
"command": "-workbench.action.focusNextGroup",
"when": "editorFocus"
},
{
"key": "alt+,",
"command": "workbench.action.focusPreviousGroup",
"when": "editorFocus"
},
{
"key": "shift+alt+tab",
"command": "-workbench.action.focusPreviousGroup",
"when": "editorFocus"
},
{
"key": "ctrl+[",
"command": "-editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
}
]
{
"workbench.colorTheme": "Pitch Black",
"workbench.colorCustomizations": {
"diffEditor.diagonalFill": "#00000000"
},
"sync.gist": "fb3f4e545a57d28aeff8f1dc2ebf397c",
"tabnine.experimentalAutoImports": true,
"kite.showWelcomeNotificationOnStartup": false,
"editor.wordWrap": "on",
"editor.wrappingIndent": "indent",
"terminal.integrated.shell.linux": "/usr/bin/zsh",
"git.autofetch": true,
"editor.fontFamily": "'Jetbrains Mono', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.fontLigatures": true,
"workbench.list.smoothScrolling": true,
"editor.cursorSmoothCaretAnimation": true,
"treeview.allowedProviders": [
"cfamily",
"java",
"javascript",
"json",
"openhab",
"php",
"python",
"css",
"less"
],
"cSpell.enableFiletypes": [
"!plaintext"
],
"vscode-devtools-for-chrome.chromePath": "/usr/bin/chromium-browser",
"rest-client.enableTelemetry": false,
"aws.telemetry": false,
"diffEditor.renderSideBySide": true,
"workbench.tree.indent": 18,
"typescript.referencesCodeLens.enabled": true,
"workbench.iconTheme": "vs-seti",
"workbench.tree.renderIndentGuides": "none",
"cSpell.logLevel": "Information",
"ActiveFileInStatusBar.fullpath": false,
"ActiveFileInStatusBar.revealFile": true,
"cSpell.diagnosticLevel": "Hint",
"cSpell.ignoreWords": [
"rebass",
"reflexbox",
"quantoneinc",
"qone",
"sarthak",
"malik"
],
"cSpell.allowCompoundWords": true,
"typescript.updateImportsOnFileMove.enabled": "always",
"cSpell.userWords": [
"Npgsql",
"Postgres",
"Renci",
"contentful",
"gtag",
"jsonb",
"narative",
"novela",
"saas"
],
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.showFoldingControls": "always",
"bracket-pair-colorizer-2.showBracketsInGutter": true,
"editor.quickSuggestionsDelay": 0,
"editor.suggest.showStatusBar": true,
"editor.semanticHighlighting.enabled": true,
"csharp.semanticHighlighting.enabled": true,
"scm.alwaysShowActions": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.packageManager": "yarn",
"editor.formatOnType": true,
"indenticator.showHover": true,
"indenticator.color.dark": "#565656",
"files.associations": {
"*.log": "log",
"*.tsx": "typescriptreact"
},
"code-runner.enableAppInsights": false,
"qub-xml-vscode.telemetry.enabled": false,
"[csharp]": {
"editor.defaultFormatter": "sar.csharp"
},
"errorLens.followCursor": "closestProblem",
"omnisharp.enableImportCompletion": true,
"omnisharp.enableRoslynAnalyzers": true,
"vssolution.solutionExplorerIcons": "current-theme",
"omnisharp.enableDecompilationSupport": true,
"editor.quickSuggestions": true,
"editor.suggestOnTriggerCharacters": true,
"typescript.implementationsCodeLens.enabled": true,
"typescript.preferences.includePackageJsonAutoImports": "on",
"typescript.referencesCodeLens.showOnAllFunctions": true,
"typescript.suggest.completeFunctionCalls": true,
"prettier.tabWidth": 4,
"typescript.enablePromptUseWorkspaceTsdk": true,
"npm-intellisense.scanDevDependencies": true,
"workbench.sideBar.location": "left",
"workbench.panel.defaultLocation": "right",
"javascript.updateImportsOnFileMove.enabled": "always",
"comment-ts.includeDescriptionTag": true,
"comment-ts.includeAuthorTag": true,
"github.username": "sar",
"genGetSet.scanOnSave": true,
"docthis.includeDescriptionTag": true,
"sublimeTextKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"dotnet.enableTelemetry": false,
"dotnet-test-explorer.enableTelemetry": false,
"terraform.telemetry.enabled": false,
"prettier.configPath": ".prettierrc",
"prettier.requireConfig": true,
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.packageManager": "yarn",
"eslint.run": "onSave",
"tslint.packageManager": "yarn",
"debug.console.fontFamily": "Monospace",
"telemetry.enableTelemetry": false,
"terminal.integrated.gpuAcceleration": "off",
"partialDiff.enableTelemetry": false,
"sync.removeExtensions": false,
"terminal.integrated.tabs.enabled": false,
"launch": {
"configurations": [
{
"name": ".NET Core Attach (Global)",
"type": "coreclr",
"request": "attach"
}
],
"compounds": []
},
"editor.suggest.preview": true,
"editor.snippetSuggestions": "bottom",
"editor.smoothScrolling": true,
"editor.inlineSuggest.mode": "prefix",
"editor.renderWhitespace": "all",
"githubPullRequests.queries": [
{
"label": "Waiting For My Review",
"query": "is:open review-requested:${user}"
},
{
"label": "Assigned To Me",
"query": "is:open assignee:${user}"
},
{
"label": "Created By Me",
"query": "is:open author:${user}"
}
],
"notebook.lineNumbers": "on",
"breadcrumbs.enabled": true,
"aws.profile": "profile:default",
"editor.renderControlCharacters": true,
"window.menuBarVisibility": "classic"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment