dotfiles/vscode/settings.json

222 lines
7.4 KiB
JSON
Raw Permalink Normal View History

2024-12-15 08:03:53 +00:00
{
"editor.cursorBlinking": "solid",
"remoteHub.commitDirectlyWarning": "off",
"files.autoSave": "afterDelay",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
},
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.autofetch": true,
// "http.proxy": "socks5://127.0.0.1:7890",
"editor.accessibilitySupport": "off",
"editor.autoClosingOvertype": "always",
"editor.fontFamily": "'BerkeleyMono Nerd Font', 'FiraCode Nerd Font', Consolas, 'Courier New', monospace",
2024-12-17 20:29:37 +00:00
"editor.fontWeight": "normal",
"editor.lineHeight": 18,
"editor.letterSpacing": 0.2,
2024-12-15 08:03:53 +00:00
"editor.wordWrap": "on",
"editor.lineNumbers": "relative",
"terminal.integrated.fontLigatures": true,
"editor.fontLigatures": true,
"vim.normalModeKeyBindings": [
{
"before": [ "<leader>", "o" ],
2024-12-15 14:08:59 +00:00
"commands": [ "workbench.action.quickOpen" ]
2024-12-15 08:03:53 +00:00
},
{
"before": [ "<leader>", "s" ],
"commands": [ "workbench.action.showAllSymbols" ]
},
{
"before": [ "<leader>", "g" ],
"commands": [ "livegrep.search" ]
},
{
"before": [ "<leader>", "d" ],
"commands": [ "workbench.panel.markers.view.focus" ]
},
{
"before": [ "<C-a>" ],
"after": [ "g", "g", "V", "G" ]
},
{
"before": [ "<leader>", "b" ],
"commands": [
{
"command": "workbench.action.tasks.runTask",
"args": "test",
}
],
},
2024-12-15 14:08:59 +00:00
{
"before": [ "g", "y" ],
"after": [ "`", "[", "v", "`", "]" ],
},
{
"before": [ "K" ],
2024-12-17 20:29:37 +00:00
"commands": [ "editor.action.showDefinitionPreviewHover" ],
2024-12-15 14:08:59 +00:00
},
{
"before": [ "<leader>", "p" ],
"commands": [ "workbench.action.togglePanel" ],
},
{
"before": [ "<leader>", "h" ],
"after": [ "<leader>", "<leader>", "<leader>", "b", "d", "w" ],
},
{
"before": [ "<leader>", "z" ],
"commands": [ "workbench.action.toggleZenMode" ],
2024-12-15 18:46:12 +00:00
},
{
"before": [ "g", "d" ],
"commands": [ "editor.action.revealDefinition" ],
},
{
"before": [ "g", "p", "d" ],
"commands": [ "editor.action.peekDefinition" ],
2024-12-17 20:29:37 +00:00
},
{
"before": [ "<C-j>" ],
"commands": [ "editor.action.moveLinesDownAction" ],
},
{
"before": [ "<C-k>" ],
"commands": [ "editor.action.moveLinesUpAction" ],
},
{
"before": [ "<leader>", "x" ],
"commands": [ "editor.action.trimTrailingWhitespace" ],
},
{
"before": [ "<leader>", "a" ],
"commands": [ "editor.action.quickFix" ],
},
2024-12-15 08:03:53 +00:00
],
2024-12-17 20:29:37 +00:00
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [ "Q" ],
"after": [ "q" ],
},
{
"before": [ "q" ],
"commands": [ "editor.action.marker.next" ]
}
],
2024-12-15 08:03:53 +00:00
"vim.insertModeKeyBindings": [
{
"before": [ "j", "k" ],
"after": [ "<Esc>" ]
},
2024-12-15 14:08:59 +00:00
{
"before": [ "<C-E>" ],
"after": [ "{", "<ESC>", "o", "}", "<ESC>", "%", "l", "i", "<CR>", "<ESC>", "^", "i" ]
},
],
"vim.visualModeKeyBindings": [
{
"before": [ "<Tab>" ],
"after": [ ">", "g", "v" ]
},
{
"before": [ "<S-Tab>" ],
"after": [ "<", "g", "v" ]
},
2024-12-15 18:46:12 +00:00
{
"before": [ "<C-n>" ],
"commands": [ "editor.action.addSelectionToNextFindMatch" ],
},
{
"before": [ "<C-x>" ],
"commands": [ "editor.action.moveSelectionToNextFindMatch" ],
},
{
"before": [ "<C-p>" ],
"commands": [ "editor.action.moveSelectionToPreviousFindMatch" ],
},
{
"before": [ "<C-a>" ],
"commands": [ "editor.action.selectHighlights" ],
},
{
"before": [ "<leader>", "c", "c" ],
"commands": [ "codesnap.start" ]
},
2024-12-17 20:29:37 +00:00
{
"before": [ "<C-j>" ],
"commands": [ "editor.action.moveLinesDownAction" ],
},
{
"before": [ "<C-k>" ],
"commands": [ "editor.action.moveLinesUpAction" ],
},
{
"before": [ "<leader>", "h" ],
"after": [ "<leader>", "<leader>", "<leader>", "b", "d", "w" ],
},
2024-12-15 08:03:53 +00:00
],
"editor.minimap.enabled": false,
"vim.useSystemClipboard": true,
"vim.leader": "<space>",
"terminal.integrated.defaultProfile.linux": "zsh",
"vim.highlightedyank.enable": true,
2024-12-15 14:08:59 +00:00
"vim.smartRelativeLine": true,
"window.customTitleBarVisibility": "windowed",
"window.density.editorTabHeight": "compact",
"workbench.editor.enablePreview": false,
"editor.trimAutoWhitespace": false,
"editor.renderWhitespace": "trailing",
"editor.inlayhints.enabled": "on",
"C_Cpp.inlayHints.autoDeclarationTypes.enabled": true,
"C_Cpp.inlayHints.parameterNames.enabled": true,
"C_Cpp.inlayHints.referenceOperator.enabled": true,
"python.analysis.inlayHints.callArgumentNames": "all",
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.pytestParameters": true,
"javascript.inlayHints.enumMemberValues.enabled": true,
"python.analysis.inlayHints.variableTypes": true,
"javascript.inlayHints.functionLikeReturnTypes.enabled": true,
"javascript.inlayHints.parameterNames.enabled": "all",
"javascript.inlayHints.parameterTypes.enabled": true,
"javascript.inlayHints.propertyDeclarationTypes.enabled": true,
"javascript.inlayHints.variableTypes.enabled": true,
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterNames.enabled": "all",
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"vim.easymotion": true,
"files.eol": "\n",
"workbench.startupEditor": "none",
"workbench.colorCustomizations": {
"editorSuggestWidget.background": "#292522AA",
"editorHoverWidget.background": "#292522AA",
},
2024-12-15 18:46:12 +00:00
"vim.showMarksInGutter": true,
"zenMode.hideLineNumbers": false,
"zenMode.hideStatusBar": false,
2024-12-17 20:29:37 +00:00
// "editor.experimentalGpuAcceleration": "on",
"workbench.colorTheme": "Melange Redux: Dark",
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, TabWidth: 4}",
"C_Cpp.clang_format_style": "",
"C_Cpp.formatting": "vcFormat",
"C_Cpp.intelliSenseEngine": "disabled",
2024-12-15 08:03:53 +00:00
}