From 2c3df11fd1a127906ae35e4235dc1a97df1f9682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 5 Oct 2020 22:01:35 +0200 Subject: [PATCH] Add vscode configs --- dotfiles.yml | 4 +++ vscode/keybindings.json | 7 +++++ vscode/settings.json | 60 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 vscode/keybindings.json create mode 100644 vscode/settings.json diff --git a/dotfiles.yml b/dotfiles.yml index c286bc7..2e62b1d 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -47,3 +47,7 @@ dotfiles: to: .config/dunstrc - from: redshift/redshift.conf to: .config/redshift.conf + - from: vscode/settings.json + to: .config/Code/User/settings.json + - from: vscode/keybindings.json + to: .config/Code/User/keybindings.json diff --git a/vscode/keybindings.json b/vscode/keybindings.json new file mode 100644 index 0000000..3e486c9 --- /dev/null +++ b/vscode/keybindings.json @@ -0,0 +1,7 @@ +// Place your key bindings in this file to override the defaultsauto[] +[ + { + "key": "ctrl+3", + "command": "workbench.action.terminal.focus" + } +] \ No newline at end of file diff --git a/vscode/settings.json b/vscode/settings.json new file mode 100644 index 0000000..8e0ecb7 --- /dev/null +++ b/vscode/settings.json @@ -0,0 +1,60 @@ +{ + "workbench.colorTheme": "Visual Studio Light", + "vim.neovimPath": "/usr/bin/nvim", + "explorer.confirmDelete": false, + "window.zoomLevel": 0, + "terraform.telemetry.enabled": false, + "editor.formatOnSave": true, + "vim.gdefault": true, + "vim.visualstar": true, + "vim.enableNeovim": true, + "git.detectSubmodulesLimit": 50, + "files.autoSave": "onFocusChange", + "editor.fontFamily": "'Inconsolata','Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", + "editor.accessibilitySupport": "off", + "editor.lineNumbers": "relative", + "editor.mouseWheelZoom": true, + "editor.renderWhitespace": "none", + "editor.cursorSurroundingLines": 7, + "editor.minimap.renderCharacters": false, + "editor.minimap.showSlider": "always", + "editor.minimap.size": "fill", + "files.eol": "\n", + "files.hotExit": "off", + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "workbench.enableExperiments": false, + "workbench.startupEditor": "newUntitledFile", + "workbench.activityBar.visible": false, + "workbench.iconTheme": "material-icon-theme", + "workbench.tree.indent": 12, + "window.menuBarVisibility": "toggle", + "window.title": "${rootName}${separator}${dirty}${activeEditorShort}${separator}VSCode", + "explorer.confirmDragAndDrop": false, + "explorer.incrementalNaming": "smart", + "search.smartCase": true, + "extensions.ignoreRecommendations": true, + "terminal.external.linuxExec": "urxvt", + "problems.showCurrentInStatus": true, + "problems.decorations.enabled": false, + "update.mode": "none", + "telemetry.enableCrashReporter": false, + "telemetry.enableTelemetry": false, + "ansible.dockerImage": "", + "vim.cursorStylePerMode.normal": "block", + "vim.cursorStylePerMode.insert": "line", + "vim.cursorStylePerMode.replace": "underline", + "vim.easymotion": true, + "vim.hlsearch": true, + "vim.leader": "", + "workbench.colorCustomizations": { + "statusBar.background": "#005f5f", + "statusBar.noFolderBackground": "#005f5f", + "statusBar.debuggingBackground": "#005f5f" + }, + "vim.vimrc.enable": true, + "editor.fontSize": 15, + "rust-client.disableRustup": true, + "rust-client.autoStartRls": false, + "terminal.integrated.mouseWheelScrollSensitivity": 3 +}