diff --git a/vscode/debug_configs/ivideon_test_launch.json b/vscode/debug_configs/ivideon_test_launch.json new file mode 100644 index 0000000..e70b480 --- /dev/null +++ b/vscode/debug_configs/ivideon_test_launch.json @@ -0,0 +1,26 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "name": "Python Debugger: Remote Attach", + "type": "debugpy", + "request": "attach", + "preLaunchTask": "wait-for-debug-server", + "connect": { + "host": "192.168.10.83", + "port": 5678, + "timeout": 30000 + }, + "pathMappings": [ + { + "localRoot": "${workspaceFolder}", + "remoteRoot": "." + } + ] + } + ] +} \ No newline at end of file diff --git a/vscode/keybindings.json b/vscode/keybindings.json new file mode 100644 index 0000000..b90d858 --- /dev/null +++ b/vscode/keybindings.json @@ -0,0 +1,53 @@ +// Place your key bindings in this file to override the defaults +[ + { + "key": "g d", + "command": "editor.action.revealDefinition", + "when": "vim.active && vim.mode == 'Visual'" + }, + { + "key": "g shift-d", + "command": "editor.action.revealDefinition", + "when": "vim.active && vim.mode == 'Visual'" + }, + { + "key": "alt-shift-p", + "command": "workbench.action.previousEditor", + "when": "editorTextFocus" + }, + { + "key": "alt-shift-n", + "command": "workbench.action.nextEditor", + "when": "editorTextFocus" + }, + { + "key": "\\ f d s", + "command": "outline.focus", + "when": "vim.active && vim.mode != 'Insert'" + }, + { + "key": "\\ f g", + "command": "workbench.action.findInFiles", + "when": "vim.active && vim.mode != 'Insert'" + }, + { + "key": "\\ f f", + "command": "workbench.action.quickOpen", + "when": "vim.active && vim.mode != 'Insert'" + }, + { + "key": "-", + "command": "workbench.view.explorer", + "when": "vim.active && vim.mode != 'Insert'" + }, + { + "key": "ctrl-b", + "command": "workbench.action.toggleSidebarVisibility", + "when": "vim.active && vim.mode != 'Insert'" + }, + { + "key": "\\ f b", + "command": "workbench.action.quickOpenPreviousRecentlyUsedEditor", + "when": "vim.active && vim.mode != 'Insert'" + }, +] \ No newline at end of file diff --git a/vscode/save_plugins.sh b/vscode/save_plugins.sh new file mode 100755 index 0000000..d7012ea --- /dev/null +++ b/vscode/save_plugins.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +echo "Saving VSCode extensions..." +code --list-extensions > current_vscode_extensions +echo "Extensions saved!" diff --git a/vscode/settings.json b/vscode/settings.json new file mode 100644 index 0000000..5044456 --- /dev/null +++ b/vscode/settings.json @@ -0,0 +1,13 @@ +{ + "workbench.colorTheme": "Visual Studio Dark", + "workbench.activityBar.location": "hidden", + "workbench.sideBar.location": "right", + "workbench.editor.showTabs": "single", + "workbench.editor.labelFormat": "medium", + "breadcrumbs.enabled": false, + + "editor.fontFamily": "JetBrains Mono, 'Courier New', monospace", + "editor.fontSize": 14, + "editor.fontWeight": "normal", + "editor.lineHeight": 1.5 +} \ No newline at end of file