{ "workbench.startupEditor": "none", "workbench.reduceMotion": "on", "workbench.commandPalette.preserveInput": true, "files.autoSave": "afterDelay", "catppuccin.italicComments": false, "catppuccin.italicKeywords": false, "catppuccin.accentColor": "pink", "window.titleBarStyle": "custom", // Editor "editor.fontSize": 14, "editor.fontFamily": "Iosevka Term, Symbols Nerd Font, monospace", "editor.fontWeight": "bold", "editor.tabSize": 2, "editor.lineNumbers": "relative", "editor.smoothScrolling": true, "editor.cursorSmoothCaretAnimation": "on", "editor.mouseWheelZoom": true, "editor.minimap.autohide": true, "editor.inlayHints.padding": true, "editor.acceptSuggestionOnEnter": "smart", "editor.formatOnSave": false, "editor.suggest.preview": true, // Latex "latex-workshop.latex.autoBuild.run": "onSave", // Terminal "terminal.integrated.defaultProfile.linux": "fish", "terminal.integrated.fontSize": 14, "terminal.integrated.fontWeight": "bold", // Nix "nix.enableLanguageServer": true, // Enable LSP. "nix.serverPath": "/home/hammy/.nix-profile/bin/nil", // The path to the LSP server executable. "[nix]": { "editor.defaultFormatter": "kamadorueda.alejandra", "editor.formatOnPaste": true, "editor.formatOnSave": true, "editor.formatOnType": false }, "alejandra.program": "/home/hammy/.nix-profile/bin/alejandra", // Vim "vim.leader": "", "vim.easymotion": true, "vim.easymotionDimBackground": false, "vim.useSystemClipboard": false, "vim.hlsearch": true, "vim.incsearch": true, "vim.handleKeys": { "": false, // select all "": false, // copy "": false, // cut "": false, // paste "": false // find }, "vim.useCtrlKeys": true, "vim.visualModeKeyBindings": [ { "before": [ ">" ], "commands": [ "editor.action.indentLines" ] }, { "before": [ "<" ], "commands": [ "editor.action.outdentLines" ] } ], "vim.normalModeKeyBindingsNonRecursive": [ // Make sure to use VsCode's undo stack -> https://github.com/VSCodeVim/Vim/issues/1490 { "before": [ "u" ], "commands": [ "undo" ] }, { "before": [ "" ], "commands": [ "redo" ] }, // Helpful Stuff { "before": [ "/" ], "commands": [ "actions.find" ] }, { "before": [ "" ], "after": [ "o", "" ] }, { "before": [ "0" ], "after": [ "^" ] }, { "before": [ "" ], "after": [ "", "z", "z" ] }, { "before": [ "" ], "after": [ "", "z", "z" ] }, { "before": [ "", "q" ], "commands": [ "workbench.action.closeActiveEditor" ] }, { "before": [ "", "w" ], "commands": [ "workbench.action.files.save" ] }, { "before": [ "", "f", "f" ], "commands": [ "workbench.action.quickOpen" ] }, { "before": [ "[", "c" ], "commands": [ "workbench.action.editor.previousChange" ] }, { "before": [ "]", "c" ], "commands": [ "workbench.action.editor.nextChange" ] }, { "before": [ "[", "d" ], "commands": [ "editor.action.marker.prev" ] }, { "before": [ "]", "d" ], "commands": [ "editor.action.marker.next" ] }, { "before": [ "", "a" ], "commands": [ "workbench.action.showCommands" ] }, // EasyMotion { "before": [ "s" ], "after": [ "", "" ] }, // Git { "before": [ "", "g", "g" ], "commands": [ "workbench.view.scm" ] }, { "before": [ "", "g", "h" ], "commands": [ "toggle.diff.renderSideBySide" ] }, { "before": [ "", "g", "p" ], "commands": [ "git.openChange" ] }, // LSP { "before": [ "", "l", "f" ], "commands": [ "editor.action.formatDocument" ] }, { "before": [ "", "l", "r" ], "commands": [ "editor.action.rename" ] }, { "before": [ "", "l", "a" ], "commands": [ "editor.action.quickFix" ] }, // Tabs { "before": [ "", "o" ], "commands": [ "workbench.action.closeOtherEditors" ] } ], "[python]": { "editor.formatOnType": false, "editor.defaultFormatter": "ms-python.black-formatter" }, "[typescript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "[markdown]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "git.autofetch": true, "redhat.telemetry.enabled": false, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[json]": { "editor.defaultFormatter": "vscode.json-language-features" }, "explorer.confirmDragAndDrop": false, "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "git.confirmSync": false, "diffEditor.ignoreTrimWhitespace": false, "[scss]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "editor.inlineSuggest.enabled": true, "github.copilot.enable": { "*": true, "plaintext": false, "markdown": true, "scminput": false }, "rust-analyzer.check.command": "clippy", "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescriptreact]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "typescript.updateImportsOnFileMove.enabled": "always", "terminal.integrated.persistentSessionScrollback": 10000, "terminal.integrated.scrollback": 10000, "terminal.external.linuxExec": "WezTerm", "editor.wordWrap": "on", "window.zoomLevel": 1, "files.autoSaveDelay": 100, "terminal.integrated.smoothScrolling": true, "explorer.confirmDelete": false, "workbench.iconTheme": "catppuccin-latte", "workbench.colorTheme": "Catppuccin Latte", "[mdx]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[astro]": { "editor.defaultFormatter": "astro-build.astro-vscode" }, "diffEditor.renderSideBySide": false }