Skip to content

Instantly share code, notes, and snippets.

@arshamalh
Last active February 23, 2025 11:42
Show Gist options
  • Save arshamalh/1d45e236ff3fc120f369ebfa5cb4261e to your computer and use it in GitHub Desktop.
Save arshamalh/1d45e236ff3fc120f369ebfa5cb4261e to your computer and use it in GitHub Desktop.
my vscode settings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+b",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+k",
"command": "-workbench.action.terminal.clear",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+k",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+r",
"command": "editor.action.startFindReplaceAction",
"when": "editorFocus || editorIsOpen"
},
{
"key": "alt+cmd+f",
"command": "-editor.action.startFindReplaceAction",
"when": "editorFocus || editorIsOpen"
},
{
"key": "shift+cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+m",
"command": "editor.foldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+0",
"command": "-editor.foldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+;",
"command": "editor.unfoldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+j",
"command": "-editor.unfoldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+enter",
"command": "-editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+q",
"command": "editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+f12",
"command": "-editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+q",
"command": "-workbench.action.quit"
},
{
"key": "cmd+e",
"command": "-actions.findWithSelection"
},
{
"key": "cmd+e",
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider"
},
{
"key": "shift+alt+f12",
"command": "-references-view.findReferences",
"when": "editorHasReferenceProvider"
}
]
{
"editor.scrollBeyondLastLine": false,
"workbench.sideBar.location": "right",
"workbench.iconTheme": "icons",
"security.workspace.trust.untrustedFiles": "open",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"python.defaultInterpreterPath": "C:\\Users\\Arsham\\AppData\\Local\\Programs\\Python\\Python39\\python.exe",
"editor.multiCursorModifier": "ctrlCmd",
"explorer.confirmDelete": false,
"diffEditor.ignoreTrimWhitespace": false,
"security.workspace.trust.enabled": false,
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.minimap.enabled": false,
"sqltools.highlightQuery": false,
"liveServer.settings.donotVerifyTags": true,
"emmet.triggerExpansionOnTab": true,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"go.testOnSave": true,
"go.lintOnSave": "package",
"go.formatTool": "goimports",
"go.testFlags": ["-v"],
"go.autocompleteUnimportedPackages": true,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.defaultFormatter": "golang.go"
},
"go.toolsManagement.autoUpdate": true,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": false,
"go": true,
"svelte": true
},
"svelte.enable-ts-plugin": true,
"editor.inlineSuggest.enabled": true,
"workbench.colorTheme": "Cobalt2",
"editor.fontFamily": "'cascadia code', Menlo, Monaco, 'Courier New', monospace, 'fira code'",
"editor.fontLigatures": true,
"git.confirmSync": false,
"editor.cursorBlinking": "expand",
"window.zoomLevel": 1,
"editor.codeLens": false,
"html.format.enable": false,
// "editor.fastScrollSensitivity": 0.01,
// "editor.mouseWheelScrollSensitivity": 0.01,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment