refactor(vscode): update settings

main
sgoudham 11 months ago
parent 1d463b970b
commit 089aabf502
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -3,13 +3,10 @@
"workbench.reduceMotion": "on", "workbench.reduceMotion": "on",
"workbench.commandPalette.preserveInput": true, "workbench.commandPalette.preserveInput": true,
"files.autoSave": "afterDelay", "files.autoSave": "afterDelay",
// Theme
"workbench.colorTheme": "Catppuccin Mocha",
"catppuccin.italicComments": false, "catppuccin.italicComments": false,
"catppuccin.italicKeywords": false, "catppuccin.italicKeywords": false,
"catppuccin.accentColor": "pink", "catppuccin.accentColor": "pink",
"window.titleBarStyle": "custom", "window.titleBarStyle": "custom",
"workbench.iconTheme": "catppuccin-mocha",
// Editor // Editor
"editor.fontSize": 14, "editor.fontSize": 14,
"editor.fontFamily": "Iosevka Term, Symbols Nerd Font, monospace", "editor.fontFamily": "Iosevka Term, Symbols Nerd Font, monospace",
@ -57,104 +54,240 @@
"vim.useCtrlKeys": true, "vim.useCtrlKeys": true,
"vim.visualModeKeyBindings": [ "vim.visualModeKeyBindings": [
{ {
"before": [">"], "before": [
"commands": ["editor.action.indentLines"] ">"
],
"commands": [
"editor.action.indentLines"
]
}, },
{ {
"before": ["<"], "before": [
"commands": ["editor.action.outdentLines"] "<"
],
"commands": [
"editor.action.outdentLines"
]
} }
], ],
"vim.normalModeKeyBindingsNonRecursive": [ "vim.normalModeKeyBindingsNonRecursive": [
// Make sure to use VsCode's undo stack -> https://github.com/VSCodeVim/Vim/issues/1490 // Make sure to use VsCode's undo stack -> https://github.com/VSCodeVim/Vim/issues/1490
{ {
"before": ["u"], "before": [
"commands": ["undo"] "u"
],
"commands": [
"undo"
]
}, },
{ {
"before": ["<C-r>"], "before": [
"commands": ["redo"] "<C-r>"
],
"commands": [
"redo"
]
}, },
// Helpful Stuff // Helpful Stuff
{ {
"before": ["/"], "before": [
"commands": ["actions.find"] "/"
],
"commands": [
"actions.find"
]
},
{
"before": [
"<CR>"
],
"after": [
"o",
"<ESC>"
]
}, },
{ {
"before": ["<CR>"], "before": [
"after": ["o", "<ESC>"] "0"
],
"after": [
"^"
]
}, },
{ {
"before": ["0"], "before": [
"after": ["^"] "<C-u>"
],
"after": [
"<C-u>",
"z",
"z"
]
}, },
{ {
"before": ["<leader>", "q"], "before": [
"commands": ["workbench.action.closeActiveEditor"] "<C-d>"
],
"after": [
"<C-d>",
"z",
"z"
]
}, },
{ {
"before": ["<leader>", "w"], "before": [
"commands": ["workbench.action.files.save"] "<leader>",
"q"
],
"commands": [
"workbench.action.closeActiveEditor"
]
}, },
{ {
"before": ["<leader>", "f", "f"], "before": [
"commands": ["workbench.action.quickOpen"] "<leader>",
"w"
],
"commands": [
"workbench.action.files.save"
]
}, },
{ {
"before": ["[", "c"], "before": [
"commands": ["workbench.action.editor.previousChange"] "<leader>",
"f",
"f"
],
"commands": [
"workbench.action.quickOpen"
]
}, },
{ {
"before": ["]", "c"], "before": [
"commands": ["workbench.action.editor.nextChange"] "[",
"c"
],
"commands": [
"workbench.action.editor.previousChange"
]
}, },
{ {
"before": ["[", "d"], "before": [
"commands": ["editor.action.marker.prev"] "]",
"c"
],
"commands": [
"workbench.action.editor.nextChange"
]
}, },
{ {
"before": ["]", "d"], "before": [
"commands": ["editor.action.marker.next"] "[",
"d"
],
"commands": [
"editor.action.marker.prev"
]
}, },
{ {
"before": ["<leader>", "a"], "before": [
"commands": ["workbench.action.showCommands"] "]",
"d"
],
"commands": [
"editor.action.marker.next"
]
},
{
"before": [
"<leader>",
"a"
],
"commands": [
"workbench.action.showCommands"
]
}, },
// EasyMotion // EasyMotion
{ {
"before": ["s"], "before": [
"after": ["<leader>", "<leader>"] "s"
],
"after": [
"<leader>",
"<leader>"
]
}, },
// Git // Git
{ {
"before": ["<leader>", "g", "g"], "before": [
"commands": ["workbench.view.scm"] "<leader>",
"g",
"g"
],
"commands": [
"workbench.view.scm"
]
}, },
{ {
"before": ["<leader>", "g", "h"], "before": [
"commands": ["toggle.diff.renderSideBySide"] "<leader>",
"g",
"h"
],
"commands": [
"toggle.diff.renderSideBySide"
]
}, },
{ {
"before": ["<leader>", "g", "p"], "before": [
"commands": ["git.openChange"] "<leader>",
"g",
"p"
],
"commands": [
"git.openChange"
]
}, },
// LSP // LSP
{ {
"before": ["<space>", "l", "f"], "before": [
"commands": ["editor.action.formatDocument"] "<leader>",
"l",
"f"
],
"commands": [
"editor.action.formatDocument"
]
}, },
{ {
"before": ["<space>", "l", "r"], "before": [
"commands": ["editor.action.rename"] "<leader>",
"l",
"r"
],
"commands": [
"editor.action.rename"
]
}, },
{ {
"before": ["<space>", "<space>"], "before": [
"commands": ["editor.action.quickFix"] "<leader>",
"l",
"a"
],
"commands": [
"editor.action.quickFix"
]
}, },
// Tabs // Tabs
{ {
"before": ["<space>", "o"], "before": [
"commands": ["workbench.action.closeOtherEditors"] "<leader>",
"o"
],
"commands": [
"workbench.action.closeOtherEditors"
]
} }
], ],
"[python]": { "[python]": {
@ -206,5 +339,12 @@
}, },
"typescript.updateImportsOnFileMove.enabled": "always", "typescript.updateImportsOnFileMove.enabled": "always",
"terminal.integrated.persistentSessionScrollback": 10000, "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"
} }

Loading…
Cancel
Save