Add vscodium and integrate with neovim

This commit is contained in:
2022-09-05 15:19:52 +02:00
parent f6fae531d6
commit 9e4931f37e
7 changed files with 195 additions and 227 deletions

15
vscodium/install.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -o nounset
set -o pipefail
set -o errexit
codium --install-extension ms-vscode.cpptools
codium --install-extension ms-python.python
codium --install-extension rust-lang.rust-analyzer
codium --install-extension asvetliakov.vscode-neovim
codium --install-extension monokai.theme-monokai-pro-vscode
codium --install-extension yzhang.markdown-all-in-one
codium --install-extension puppet.puppet-vscode

26
vscodium/keybindings.json Normal file
View File

@@ -0,0 +1,26 @@
[
// {
// "key": "ctrl+3",
// "command": "workbench.action.terminal.focus"
// },
{
"key": "ctrl+alt+b",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"command": "vscode-neovim.compositeEscape1",
"key": "j",
"when": "neovim.mode == insert && editorTextFocus",
"args": "j"
},
{
"command": "vscode-neovim.compositeEscape2",
"key": "k",
"when": "neovim.mode == insert && editorTextFocus",
"args": "k"
}
]

9
vscodium/product.json Normal file
View File

@@ -0,0 +1,9 @@
{
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items",
"controlUrl": "",
"recommendationsUrl": ""
}
}

72
vscodium/settings.json Normal file
View File

@@ -0,0 +1,72 @@
{
"ansible.dockerImage": "",
"editor.accessibilitySupport": "off",
"editor.cursorSurroundingLines": 7,
"editor.fontFamily": "'Droid Sans Mono'",
"editor.formatOnSave": true,
"editor.lineNumbers": "off",
"editor.minimap.showSlider": "always",
"editor.renderWhitespace": "none",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.incrementalNaming": "smart",
"extensions.ignoreRecommendations": true,
"files.eol": "\n",
"files.hotExit": "off",
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"git.detectSubmodulesLimit": 50,
"problems.decorations.enabled": false,
"problems.showCurrentInStatus": true,
"rust-client.autoStartRls": false,
"rust-client.disableRustup": true,
"search.smartCase": true,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"terminal.external.linuxExec": "",
"terminal.integrated.mouseWheelScrollSensitivity": 3,
"terraform.telemetry.enabled": false,
"update.mode": "none",
"vim.cursorStylePerMode.insert": "line",
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.replace": "underline",
"vim.easymotion": true,
"vim.enableNeovim": true,
"vim.gdefault": true,
"vim.hlsearch": true,
"vim.leader": "<space>",
"vim.neovimPath": "/usr/bin/nvim",
"vim.vimrc.enable": true,
"vim.visualstar": true,
"editor.wordWrap": "off",
"vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim",
"window.menuBarVisibility": "toggle",
"window.title": "[code] ${rootName}${separator}${dirty}${activeEditorShort}${separator}VSCode",
"workbench.colorCustomizations": {
"statusBar.background": "#005f5f",
"statusBar.noFolderBackground": "#005f5f",
"statusBar.debuggingBackground": "#005f5f"
},
"workbench.enableExperiments": false,
"workbench.iconTheme": "Monokai Classic Icons",
"workbench.startupEditor": "newUntitledFile",
"workbench.tree.indent": 14,
"security.workspace.trust.enabled": false,
"scm.inputFontSize": 12,
"debug.console.fontSize": 12,
"terminal.integrated.fontSize": 12,
"files.autoSave": "onFocusChange",
"editor.fontWeight": "normal",
"editor.cursorStyle": "block",
"editor.minimap.renderCharacters": false,
"editor.minimap.size": "fit",
"workbench.colorTheme": "Monokai Classic",
"workbench.tree.renderIndentGuides": "always",
"breadcrumbs.icons": false,
"window.titleSeparator": " — ",
"explorer.excludeGitIgnore": true,
"puppet.editorService.formatOnType.enable": true,
"puppet.installType": "agent",
"puppet.installDirectory": "/usr/bin/puppet",
"window.zoomLevel": 0.1
}