From 089aabf502a9a4341849bfd07abec550ba7db42a Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 18 Oct 2023 17:31:56 +0100 Subject: [PATCH] refactor(vscode): update settings --- home/apps/vscode/settings.json | 240 ++++++++++++++++++++++++++------- 1 file changed, 190 insertions(+), 50 deletions(-) diff --git a/home/apps/vscode/settings.json b/home/apps/vscode/settings.json index 7b69eba..90f1323 100644 --- a/home/apps/vscode/settings.json +++ b/home/apps/vscode/settings.json @@ -3,13 +3,10 @@ "workbench.reduceMotion": "on", "workbench.commandPalette.preserveInput": true, "files.autoSave": "afterDelay", - // Theme - "workbench.colorTheme": "Catppuccin Mocha", "catppuccin.italicComments": false, "catppuccin.italicKeywords": false, "catppuccin.accentColor": "pink", "window.titleBarStyle": "custom", - "workbench.iconTheme": "catppuccin-mocha", // Editor "editor.fontSize": 14, "editor.fontFamily": "Iosevka Term, Symbols Nerd Font, monospace", @@ -57,104 +54,240 @@ "vim.useCtrlKeys": true, "vim.visualModeKeyBindings": [ { - "before": [">"], - "commands": ["editor.action.indentLines"] + "before": [ + ">" + ], + "commands": [ + "editor.action.indentLines" + ] }, { - "before": ["<"], - "commands": ["editor.action.outdentLines"] + "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": [ + "u" + ], + "commands": [ + "undo" + ] }, { - "before": [""], - "commands": ["redo"] + "before": [ + "" + ], + "commands": [ + "redo" + ] }, // Helpful Stuff { - "before": ["/"], - "commands": ["actions.find"] + "before": [ + "/" + ], + "commands": [ + "actions.find" + ] + }, + { + "before": [ + "" + ], + "after": [ + "o", + "" + ] }, { - "before": [""], - "after": ["o", ""] + "before": [ + "0" + ], + "after": [ + "^" + ] }, { - "before": ["0"], - "after": ["^"] + "before": [ + "" + ], + "after": [ + "", + "z", + "z" + ] }, { - "before": ["", "q"], - "commands": ["workbench.action.closeActiveEditor"] + "before": [ + "" + ], + "after": [ + "", + "z", + "z" + ] }, { - "before": ["", "w"], - "commands": ["workbench.action.files.save"] + "before": [ + "", + "q" + ], + "commands": [ + "workbench.action.closeActiveEditor" + ] }, { - "before": ["", "f", "f"], - "commands": ["workbench.action.quickOpen"] + "before": [ + "", + "w" + ], + "commands": [ + "workbench.action.files.save" + ] }, { - "before": ["[", "c"], - "commands": ["workbench.action.editor.previousChange"] + "before": [ + "", + "f", + "f" + ], + "commands": [ + "workbench.action.quickOpen" + ] }, { - "before": ["]", "c"], - "commands": ["workbench.action.editor.nextChange"] + "before": [ + "[", + "c" + ], + "commands": [ + "workbench.action.editor.previousChange" + ] }, { - "before": ["[", "d"], - "commands": ["editor.action.marker.prev"] + "before": [ + "]", + "c" + ], + "commands": [ + "workbench.action.editor.nextChange" + ] }, { - "before": ["]", "d"], - "commands": ["editor.action.marker.next"] + "before": [ + "[", + "d" + ], + "commands": [ + "editor.action.marker.prev" + ] }, { - "before": ["", "a"], - "commands": ["workbench.action.showCommands"] + "before": [ + "]", + "d" + ], + "commands": [ + "editor.action.marker.next" + ] + }, + { + "before": [ + "", + "a" + ], + "commands": [ + "workbench.action.showCommands" + ] }, // EasyMotion { - "before": ["s"], - "after": ["", ""] + "before": [ + "s" + ], + "after": [ + "", + "" + ] }, // Git { - "before": ["", "g", "g"], - "commands": ["workbench.view.scm"] + "before": [ + "", + "g", + "g" + ], + "commands": [ + "workbench.view.scm" + ] }, { - "before": ["", "g", "h"], - "commands": ["toggle.diff.renderSideBySide"] + "before": [ + "", + "g", + "h" + ], + "commands": [ + "toggle.diff.renderSideBySide" + ] }, { - "before": ["", "g", "p"], - "commands": ["git.openChange"] + "before": [ + "", + "g", + "p" + ], + "commands": [ + "git.openChange" + ] }, // LSP { - "before": ["", "l", "f"], - "commands": ["editor.action.formatDocument"] + "before": [ + "", + "l", + "f" + ], + "commands": [ + "editor.action.formatDocument" + ] }, { - "before": ["", "l", "r"], - "commands": ["editor.action.rename"] + "before": [ + "", + "l", + "r" + ], + "commands": [ + "editor.action.rename" + ] }, { - "before": ["", ""], - "commands": ["editor.action.quickFix"] + "before": [ + "", + "l", + "a" + ], + "commands": [ + "editor.action.quickFix" + ] }, // Tabs { - "before": ["", "o"], - "commands": ["workbench.action.closeOtherEditors"] + "before": [ + "", + "o" + ], + "commands": [ + "workbench.action.closeOtherEditors" + ] } ], "[python]": { @@ -206,5 +339,12 @@ }, "typescript.updateImportsOnFileMove.enabled": "always", "terminal.integrated.persistentSessionScrollback": 10000, - "terminal.integrated.scrollback": 10000 + "terminal.integrated.scrollback": 10000, + "terminal.external.linuxExec": "WezTerm", + "editor.wordWrap": "on", + "window.zoomLevel": 1, + "files.autoSaveDelay": 100, + "terminal.integrated.smoothScrolling": true, + "workbench.iconTheme": "catppuccin-mocha", + "workbench.colorTheme": "Catppuccin Mocha" }