Skip to content

Instantly share code, notes, and snippets.

@matejaputic
Created December 12, 2024 11:29
Show Gist options
  • Select an option

  • Save matejaputic/6186e026bfd4b0e7d0196e32f187f33d to your computer and use it in GitHub Desktop.

Select an option

Save matejaputic/6186e026bfd4b0e7d0196e32f187f33d to your computer and use it in GitHub Desktop.
{
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[lua]": {
"editor.defaultFormatter": "yinfei.luahelper"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.hover.enabled": true
// "editor.wordBasedSuggestions": "allDocuments",
// "editor.suggest.showWords": false,
// "editor.suggestSelection": "recentlyUsedByPrefix",
// "editor.suggest.showProperties": false,
// "editor.suggest.showValues": false,
// "editor.suggest.showSnippets": false,
// "editor.suggest.showConstants": false,
// "editor.suggest.showKeywords": false,
// "editor.suggest.showColors": false,
// "editor.suggest.showVariables": false,
// "editor.suggest.showFunctions": false,
// "editor.suggest.showMethods": false,
// "editor.suggest.showModules": false,
// "editor.suggest.showClasses": false,
// "editor.suggest.showEnumMembers": false,
// "editor.suggest.showEnums": false,
// "editor.suggest.showInterfaces": false,
// "editor.suggest.showStructs": false,
// "editor.suggest.showFields": false,
// "editor.suggest.showEvents": false,
// "editor.suggest.showOperators": false,
// "editor.suggest.showUnits": false,
// "editor.suggest.showFiles": false,
// "editor.suggest.showFolders": false,
// "editor.suggest.showTypeParameters": false,
// "editor.suggest.showUsers": false,
// "editor.suggest.showIssues": false,
// "editor.suggest.showReferences": false,
// "editor.suggest.showInlineDetails": false,
// "editor.suggest.showConstructors": false,
// "editor.suggest.showCustomcolors": false,
// "editor.suggest.showDeprecated": false
},
"cSpell.language": "en,en-US",
"cSpell.userWords": [
"itos"
],
"diffEditor.codeLens": true,
"editor.acceptSuggestionOnEnter": "smart",
// "editor.fontFamily": "'League Mono Condensed', 'MonaspiceNe Nerd Font Mono', 'IntoneMono Nerd Font Mono', 'Source Code Pro', Menlo, Monaco, 'Courier New', monospace",
// "editor.fontFamily": "'League Mono SemiCondensed'",
"editor.fontFamily": "'MonaspiceNe Nerd Font Mono'",
"editor.fontLigatures": "'calt', 'clig', 'ss08', 'ss09', 'liga'",
"editor.fontSize": 16,
"editor.fontWeight": "250",
"editor.indentSize": "tabSize",
"editor.minimap.autohide": true,
"editor.tabCompletion": "on",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.fileNesting.patterns": {
"*.db": "${capture}.${extname}-*",
"*.db3": "${capture}.${extname}-*",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.s3db": "${capture}.${extname}-*",
"*.sdb": "${capture}.${extname}-*",
"*.sqlite": "${capture}.${extname}-*",
"*.sqlite3": "${capture}.${extname}-*",
"*.ts": "${capture}.js",
"*.tsx": "${capture}.ts",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb",
"tsconfig.json": "tsconfig.*.json"
},
"git.confirmSync": false,
"jupyter.askForKernelRestart": false,
"markdown.extension.print.theme": "dark",
"markdown.preview.typographer": true,
"material-icon-theme.activeIconPack": "vue",
"notebook.output.scrolling": true,
"notebook.output.wordWrap": true,
"python.analysis.autoFormatStrings": true,
"python.analysis.autoImportCompletions": true,
"redhat.telemetry.enabled": false,
"remote.SSH.enableX11Forwarding": false,
"remote.SSH.remoteServerListenOnSocket": true,
"remoteHub.commitDirectlyWarning": "off",
"rest-client.enableTelemetry": false,
"security.workspace.trust.untrustedFiles": "open",
"supermaven.enableFixWithSupermaven": true,
"svgPreview.style": {
"html": {
"background": "white"
}
},
"symbols.hidesExplorerArrows": false,
"telemetry.telemetryLevel": "off",
"terminal.integrated.enableImages": true,
"terminal.integrated.fontFamily": "'MonaspiceNe Nerd Font Mono', 'IntoneMono Nerd Font'",
"terminal.integrated.fontSize": 16,
"terminal.integrated.stickyScroll.enabled": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"after": [],
"before": [
"u"
],
"commands": [
{
"command": "undo"
}
]
},
{
"after": [],
"before": [
"<C-r>"
],
"commands": [
{
"command": "redo"
}
]
}
],
"vim.useSystemClipboard": true,
"vs-kubernetes": {
"disable-linters": [
"resource-limits"
]
},
"window.zoomLevel": 0.65,
"workbench.colorCustomizations": {
"activityBar.foreground": "#5ce0c4",
"statusBarItem.remoteBackground": "#5fb3a1"
},
"workbench.colorTheme": "poimandres-storm",
"workbench.editor.empty.hint": "hidden",
"workbench.iconTheme": "quill-icons",
"workbench.productIconTheme": "icons-carbon",
"workbench.startupEditor": "none",
"yaml.schemas": {
// "kubernetes": [
// "*.yaml",
// "*.yml"
// ]
},
"yaml.disableDefaultProperties": true,
"yaml.format.bracketSpacing": false,
"python.terminal.activateEnvironment": false,
"ruff.logLevel": "info",
"window.openFilesInNewWindow": "on",
"commands.commands": {},
}
// Place your key bindings in this file to override the defaults
[
// Disable reset zoom using Command + Numpad 0
{
"command": "-workbench.action.zoomReset",
"key": "cmd+numpad0"
},
// Disable zoom in using Command + Numpad Plus
{
"command": "-workbench.action.zoomIn",
"key": "cmd+numpad_add"
},
// Disable zoom in using Shift + Command + Equal
{
"command": "-workbench.action.zoomIn",
"key": "shift+cmd+="
},
// Disable zoom in using Command + Equal
{
"command": "-workbench.action.zoomIn",
"key": "cmd+="
},
// Disable zoom out using Command + Numpad Minus
{
"command": "-workbench.action.zoomOut",
"key": "cmd+numpad_subtract"
},
// Disable zoom out using Shift + Command + Minus
{
"command": "-workbench.action.zoomOut",
"key": "shift+cmd+-"
},
// Disable zoom out using Command + Minus
{
"command": "-workbench.action.zoomOut",
"key": "cmd+-"
},
// Disable window close when no editor is open
{
"command": "-workbench.action.closeWindow",
"key": "cmd+w",
"when": "!editorIsOpen && !multipleEditorGroups"
},
// Open folder in new window using Command + N
{
"command": "workbench.action.files.openFileFolderInNewWindow",
"key": "cmd+n",
"when": "openFolderWorkspaceSupport"
},
// Disable default open file/folder command on Mac
{
"command": "-workbench.action.files.openFileFolder",
"key": "cmd+o",
"when": "isMacNative && openFolderWorkspaceSupport"
},
// Format document and organize imports using Control + F
{
"command": "commands.run",
"key": "ctrl+f",
"args": [
"ruff.executeFormat",
"ruff.executeOrganizeImports"
],
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
// Disable default format document shortcut
{
"command": "-editor.action.formatDocument",
"key": "shift+alt+f",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
// Create new untitled file using Command + T
{
"command": "workbench.action.files.newUntitledFile",
"key": "cmd+t"
},
// Disable default new untitled file shortcut
{
"command": "-workbench.action.files.newUntitledFile",
"key": "cmd+n"
},
// Close active editor using Command + W
{
"command": "workbench.action.closeActiveEditor",
"key": "cmd+w"
},
// Disable duplicate close active editor binding
{
"command": "-workbench.action.closeActiveEditor",
"key": "cmd+w"
},
// Disable default save file shortcut
{
"command": "-workbench.action.files.save",
"key": "cmd+s"
},
// Disable default save as shortcut
{
"command": "-workbench.action.files.saveAs",
"key": "shift+cmd+s"
},
// Disable save without formatting shortcut
{
"command": "-workbench.action.files.saveWithoutFormatting",
"key": "cmd+k s"
},
// Disable save all files shortcut
{
"command": "-saveAll",
"key": "alt+cmd+s"
},
// Disable save local file shortcut in remote file dialog
{
"command": "-workbench.action.files.saveLocalFile",
"key": "shift+cmd+s",
"when": "remoteFileDialogVisible"
},
// Toggle panel visibility using Control + B, O (when terminal not focused)
{
"command": "workbench.action.terminal.focus",
"key": "ctrl+b o",
"when": "!terminalFocus"
},
// Focus active editor group using Control + B, O (when terminal focused)
{
"command": "workbench.action.focusActiveEditorGroup",
"key": "ctrl+b o",
"when": "terminalFocus"
},
// Focus left editor group using Control + B, H
{
"command": "workbench.action.focusLeftGroup",
"key": "ctrl+b h",
"when": "editorTextFocus"
},
// Focus right editor group using Control + B, L
{
"command": "workbench.action.focusRightGroup",
"key": "ctrl+b l",
"when": "editorTextFocus"
},
// Focus editor group below using Control + B, J
{
"command": "workbench.action.focusBelowGroup",
"key": "ctrl+b j",
"when": "editorTextFocus"
},
// Focus editor group above using Control + B, K
{
"command": "workbench.action.focusAboveGroup",
"key": "ctrl+b k",
"when": "editorTextFocus"
},
// Show explorer using Control + B, E (when explorer not focused)
{
"command": "workbench.view.explorer",
"key": "ctrl+b e",
"when": "!filesExplorerFocus"
},
// Focus active editor group using Control + B, E (when explorer focused)
{
"command": "workbench.action.focusActiveEditorGroup",
"key": "ctrl+b e",
"when": "filesExplorerFocus"
},
// Close active editor using Control + W
{
"command": "workbench.action.closeActiveEditor",
"key": "ctrl+w",
"when": "editorTextFocus"
},
// Split editor horizontally using Control + B, S
{
"command": "workbench.action.splitEditor",
"key": "ctrl+b s"
},
// Split editor vertically using Control + B, V
{
"command": "workbench.action.splitEditorRight",
"key": "ctrl+b v"
},
// Reopen last closed editor using Shift + Control + W
{
"command": "workbench.action.reopenClosedEditor",
"key": "shift+ctrl+w"
},
// Reopen last closed editor using Shift + Command + T
{
"command": "workbench.action.reopenClosedEditor",
"key": "shift+cmd+t"
},
// Navigate back in navigation history using Command + [
{
"command": "workbench.action.navigateBack",
"key": "cmd+[",
"when": "canNavigateBack"
},
// Disable default navigate back shortcut (Control + -)
{
"command": "-workbench.action.navigateBack",
"key": "ctrl+-",
"when": "canNavigateBack"
},
// Navigate forward in navigation history using Command + ]
{
"command": "workbench.action.navigateForward",
"key": "cmd+]",
"when": "canNavigateForward"
},
// Disable default navigate forward shortcut (Control + Shift + -)
{
"command": "-workbench.action.navigateForward",
"key": "ctrl+shift+-",
"when": "canNavigateForward"
},
// Create new terminal instance when terminal is focused using Command + T
{
"command": "workbench.action.terminal.new",
"key": "cmd+t",
"when": "terminalFocus"
},
// Close current terminal instance when terminal is focused using Command + W
{
"command": "workbench.action.terminal.kill",
"key": "cmd+w",
"when": "terminalFocus"
},
// Maximize terminal panel when not maximized using Control + B, J
{
"command": "workbench.action.toggleMaximizedPanel",
"key": "ctrl+b j",
"when": "terminalFocus && !panelMaximized"
},
// Restore terminal panel size when maximized using Control + B, J
{
"command": "workbench.action.toggleMaximizedPanel",
"key": "ctrl+b j",
"when": "terminalFocus && panelMaximized"
},
// Disable default panel toggle shortcut (Command + J)
{
"command": "-workbench.action.togglePanel",
"key": "cmd+j"
},
// Toggle panel visibility using Control + B, B
{
"command": "workbench.action.togglePanel",
"key": "ctrl+b b"
},
{
"key": "shift+cmd+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "cmd+q cmd+q",
"command": "workbench.action.closeWindow"
}
]
{
"editor.fontFamily": "'MonaspiceNe Nerd Font Mono'",
"editor.fontLigatures": "'calt', 'clig', 'ss08', 'ss09', 'liga'",
"editor.fontSize": 13,
"editor.fontWeight": "250",
"editor.rulers": [
88
],
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
"ruff.lineLength": 88,
"terminal.integrated.fontFamily": "'MonaspiceNe Nerd Font Mono'",
"terminal.integrated.fontLigatures": "'calt', 'clig', 'ss08', 'ss09', 'liga'",
"terminal.integrated.fontSize": 13,
"terminal.integrated.fontWeight": "250",
"terminal.integrated.fontWeightBold": "350",
"vim.easymotion": true,
"vim.handleKeys": {
"<C-a>": false,
"<C-c>": false,
"<C-f>": false,
"<C-v>": false
},
"vim.leader": "<space>",
"vim.useSystemClipboard": true,
"window.zoomLevel": 0.65,
"workbench.colorCustomizations": {
"[poimandres-storm]": {
"activityBar.foreground": "#5de4c7",
"statusBarItem.remoteBackground": "#5de4c7",
"statusBarItem.remoteForeground": "#0d0d0d",
"tab.activeBorder": "#fffac2"
}
},
"workbench.colorTheme": "poimandres-storm",
"workbench.iconTheme": "quill-icons"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment