Files
Dotfiles/.config/Code - OSS/User/settings.json
2025-09-03 18:38:30 +02:00

151 lines
3.7 KiB
JSON

{
"svelte.enable-ts-plugin": true,
"workbench.sideBar.location": "right",
"vim.leader": "<space>",
"editor.cursorSurroundingLines": 8,
"vim.smartRelativeLine": true,
"vim.useSystemClipboard": true,
"vim.highlightedyank.enable": true,
"vim.highlightedyank.color": "#a9dc7660",
"vim.highlightedyank.duration": 250,
"vim.normalModeKeyBindings": [
{
"before": [
"g",
"p",
"d"
],
"commands": [
"editor.action.peekDefinition"
]
},
{
"before": [
"K"
],
"commands": [
"editor.action.showDefinitionPreviewHover"
]
},
{
"before": [
"g",
"i"
],
"commands": [
"editor.action.goToImplementation"
]
},
{
"before": [
"g",
"p",
"i"
],
"commands": [
"editor.action.peekImplementation"
]
},
{
"before": [
"<leader>",
"c",
"a"
],
"commands": [
"editor.action.quickFix"
]
},
{
"before": [
"g",
"r"
],
"commands": [
"editor.action.referenceSearch.trigger"
]
},
{
"before": [
"g",
"t"
],
"commands": [
"editor.action.goToTypeDefinition"
]
},
{
"before": [
"g",
"p",
"t"
],
"commands": [
"editor.action.peekTypeDefinition"
]
},
{
"before": [
"<leader>",
"g",
"f"
],
"commands": [
"editor.action.formatDocument"
]
},
{
"before": [
"<leader>",
"e"
],
"commands": [
"workbench.view.explorer"
]
},
{
"before": [
"<leader>",
"e"
],
"commands": [
"workbench.view.explorer"
]
},
{
"before": [
"g",
"c"
],
"commands": [
"editor.action.commentLine"
]
}
],
"workbench.colorTheme": "Catppuccin Frappé",
"git.autofetch": true,
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.js",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.tsx": "${capture}.ts",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, bun.lock",
"*.sqlite": "${capture}.${extname}-*",
"*.db": "${capture}.${extname}-*",
"*.sqlite3": "${capture}.${extname}-*",
"*.db3": "${capture}.${extname}-*",
"*.sdb": "${capture}.${extname}-*",
"*.s3db": "${capture}.${extname}-*"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
}