nixos-config/home-manager/modules/vscode/settings.json

473 lines
8.6 KiB
JSON

{
"editor.formatOnSave": true,
"editor.fontFamily": "Iosevka Nerd Font",
"workbench.iconTheme": "Monokai Pro Icons",
"workbench.enableExperiments": false,
"workbench.preferredDarkColorTheme": "Monokai Pro",
"editor.fontLigatures": true,
"vsicons.dontShowNewVersionMessage": true,
"workbench.startupEditor": "newUntitledFile",
"rust-analyzer.cargo.allFeatures": true,
"rust-analyzer.checkOnSave.command": "clippy",
"editor.suggestSelection": "first",
"git.autofetch": true,
"vim.cursorStylePerMode.insert": "line",
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.replace": "block-outline",
"vim.cursorStylePerMode.visual": "underline",
"vim.cursorStylePerMode.visualblock": "underline",
"vim.cursorStylePerMode.visualline": "underline",
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["h"],
"after": ["h"]
},
{
"before": ["n"],
"after": ["j"]
},
{
"before": ["e"],
"after": ["k"]
},
{
"before": ["i"],
"after": ["l"]
},
{
"before": ["l"],
"after": ["b"]
},
{
"before": ["L"],
"after": ["B"]
},
{
"before": ["u"],
"after": ["e"]
},
{
"before": ["U"],
"after": ["E"]
},
{
"before": ["y"],
"after": ["W"]
},
{
"before": ["Y"],
"after": ["W"]
},
{
"before": ["s"],
"after": ["i"]
},
{
"before": ["S"],
"after": ["I"]
},
{
"before": ["t"],
"after": ["a"]
},
{
"before": ["T"],
"after": ["A"]
},
{
"before": ["w"],
"after": ["c"]
},
{
"before": ["W"],
"after": ["C"]
},
{
"before": ["ww"],
"after": ["cc"]
},
{
"before": ["x"],
"after": ["x"]
},
{
"before": ["c"],
"after": ["y"]
},
{
"before": ["v"],
"after": ["p"]
},
{
"before": ["X"],
"after": ["dd"]
},
{
"before": ["C"],
"after": ["yy"]
},
{
"before": ["V"],
"after": ["P"]
},
{
"before": ["gv"],
"after": ["gp"]
},
{
"before": ["gV"],
"after": ["gP"]
},
{
"before": ["z"],
"after": ["u"]
},
{
"before": ["gz"],
"after": ["U"]
},
{
"before": ["Z"],
"after": ["<C-R>"]
},
{
"before": ["a"],
"after": ["v"]
},
{
"before": ["A"],
"after": ["V"]
},
{
"before": ["ga"],
"after": ["gv"]
},
{
"before": ["p"],
"after": ["t"]
},
{
"before": ["P"],
"after": ["T"]
},
{
"before": ["b"],
"after": [";"]
},
{
"before": ["B"],
"after": [","]
},
{
"before": ["k"],
"after": ["n"]
},
{
"before": ["K"],
"after": ["N"]
},
{
"before": ["j"],
"after": ["z"]
},
{
"before": ["jn"],
"after": ["zj"]
},
{
"before": ["je"],
"after": ["zk"]
},
{
"before": ["gX"],
"after": ["X"]
},
{
"before": ["gK"],
"after": ["K"]
},
{
"before": ["gL"],
"after": ["L"]
},
{
"before": ["<C-W>h"],
"after": ["<C-W>h"]
},
{
"before": ["<C-W>n"],
"after": ["<C-W>j"]
},
{
"before": ["<C-W>e"],
"after": ["<C-W>k"]
},
{
"before": ["<C-W>i"],
"after": ["<C-W>l"]
}
],
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["h"],
"after": ["h"]
},
{
"before": ["n"],
"after": ["j"]
},
{
"before": ["e"],
"after": ["k"]
},
{
"before": ["i"],
"after": ["l"]
},
{
"before": ["l"],
"after": ["b"]
},
{
"before": ["L"],
"after": ["B"]
},
{
"before": ["u"],
"after": ["e"]
},
{
"before": ["U"],
"after": ["E"]
},
{
"before": ["y"],
"after": ["W"]
},
{
"before": ["Y"],
"after": ["W"]
},
{
"before": ["w"],
"after": ["c"]
},
{
"before": ["W"],
"after": ["C"]
},
{
"before": ["x"],
"after": ["x"]
},
{
"before": ["c"],
"after": ["y"]
},
{
"before": ["v"],
"after": ["p"]
},
{
"before": ["X"],
"after": ["d"]
},
{
"before": ["C"],
"after": ["y"]
},
{
"before": ["V"],
"after": ["P"]
},
{
"before": ["gv"],
"after": ["gp"]
},
{
"before": ["gV"],
"after": ["gP"]
},
{
"before": ["z"],
"after": [":<C-U>undo<CR>"]
},
{
"before": ["gz"],
"after": [":<C-U>undo<CR>"]
},
{
"before": ["Z"],
"after": [":<C-U>redo<CR>"]
},
{
"before": ["a"],
"after": ["v"]
},
{
"before": ["A"],
"after": ["V"]
},
{
"before": ["<silent> <expr> s"],
"after": ["(mode() =~# \"[V]\" ? \"<C-V>0o$I\" : \"I\""]
},
{
"before": ["<silent> <expr> S"],
"after": ["(mode() =~# \"[V]\" ? \"<C-V>0o$I\" : \"I\""]
},
{
"before": ["<silent> <expr> t"],
"after": ["(mode() =~# \"[V]\" ? \"<C-V>0o$A\" : \"I\""]
},
{
"before": ["<silent> <expr> T"],
"after": ["(mode() =~# \"[V]\" ? \"<C-V>0o$A\" : \"I\""]
},
{
"before": ["p"],
"after": ["t"]
},
{
"before": ["P"],
"after": ["T"]
},
{
"before": ["b"],
"after": [";"]
},
{
"before": ["B"],
"after": [","]
},
{
"before": ["k"],
"after": ["n"]
},
{
"before": ["K"],
"after": ["N"]
},
{
"before": ["j"],
"after": ["z"]
},
{
"before": ["jn"],
"after": ["zj"]
},
{
"before": ["je"],
"after": ["zk"]
},
{
"before": ["gX"],
"after": ["X"]
},
{
"before": ["gK"],
"after": ["K"]
},
{
"before": ["gL"],
"after": ["L"]
},
{
"before": ["<C-W>h"],
"after": ["<C-W>h"]
},
{
"before": ["<C-W>n"],
"after": ["<C-W>j"]
},
{
"before": ["<C-W>e"],
"after": ["<C-W>k"]
},
{
"before": ["<C-W>i"],
"after": ["<C-W>l"]
}
],
"vim.textwidth": 120,
"workbench.editor.enablePreviewFromQuickOpen": false,
"editor.lineNumbers": "relative",
"emmet.includeLanguages": {
"html-leex": "html"
},
"emmet.triggerExpansionOnTab": true,
"python.languageServer": "Default",
"shellcheck.enableQuickFix": true,
"shellcheck.customArgs": ["--enable=all"],
"python.defaultInterpreterPath": "/usr/bin/python",
"workbench.colorTheme": "Monokai Pro",
"[elixir]": {
"editor.defaultFormatter": "JakeBecker.elixir-ls"
},
"remote.SSH.useLocalServer": false,
"remote.SSH.remotePlatform": {
"horus-vpn": "linux",
"horus": "linux"
},
"tailwindCSS.includeLanguages": {
"svelte": "html",
"surface": "html",
"elixir": "html"
},
"tailwindCSS.emmetCompletions": true,
"docker.showStartPage": false,
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"zigLanguageClient.path": "/home/erwin/zls/zls",
"zig.buildOnSave": true,
"editor.cursorStyle": "line",
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
"editor.wordWrap": "off",
"editor.tabSize": 2,
"editor.minimap.enabled": false,
"editor.bracketPairColorization.enabled": true,
"python.formatting.provider": "black",
"telemetry.telemetryLevel": "off",
"python.formatting.blackArgs": ["--skip-string-normalization"],
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"files.associations": {
"*.livemd": "markdown",
"*.wrap": "ini"
},
"[python]": {
"editor.tabSize": 4
},
"[nix]": {
"editor.defaultFormatter": "aaronduino.nix-lsp"
},
"[rust]": {
"editor.tabSize": 4
}
}