From a74ef85c8867847a2394159fd54ad908a516656b Mon Sep 17 00:00:00 2001 From: scbj Date: Thu, 5 Sep 2024 17:01:17 +0200 Subject: [PATCH] added configuration for vscode --- code/.config/Code/User/keybindings.json | 80 +++++++++++++++++++++++++ code/.config/Code/User/settings.json | 33 ++++++++++ 2 files changed, 113 insertions(+) create mode 100755 code/.config/Code/User/keybindings.json create mode 100755 code/.config/Code/User/settings.json diff --git a/code/.config/Code/User/keybindings.json b/code/.config/Code/User/keybindings.json new file mode 100755 index 0000000..920843c --- /dev/null +++ b/code/.config/Code/User/keybindings.json @@ -0,0 +1,80 @@ +// Place your key bindings in this file to override the defaultsauto[] +[ + { + "key": "ctrl+u", + "command": "-cursorUndo", + "when": "textInputFocus" + }, + { + "key": "ctrl+u", + "command": "editor.action.transformToUppercase" + }, + { + "key": "ctrl+l", + "command": "editor.action.transformToLowercase" + }, + { + "key": "ctrl+d", + "command": "-editor.action.addSelectionToNextFindMatch", + "when": "editorFocus" + }, + { + "key": "ctrl+d", + "command": "editor.action.deleteLines", + "when": "textInputFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+k", + "command": "-editor.action.deleteLines", + "when": "textInputFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+d", + "command": "-workbench.view.debug", + "when": "viewContainer.workbench.view.debug.enabled" + }, + { + "key": "ctrl+shift+d", + "command": "deleteAllRight" + }, + { + "key": "ctrl+l", + "command": "-notebook.centerActiveCell", + "when": "notebookEditorFocused" + }, + { + "key": "ctrl+l", + "command": "-expandLineSelection", + "when": "textInputFocus" + }, + { + "key": "shift+alt+f5", + "command": "workbench.action.editor.previousChange", + "when": "editorTextFocus && !textCompareEditorActive" + }, + { + "key": "shift+alt+f5", + "command": "-workbench.action.editor.previousChange", + "when": "editorTextFocus && !textCompareEditorActive" + }, + { + "key": "alt+left", + "command": "workbench.action.navigateBack", + "when": "canNavigateBack" + }, + { + "key": "ctrl+alt+-", + "command": "-workbench.action.navigateBack", + "when": "canNavigateBack" + }, + { + "key": "alt+right", + "command": "workbench.action.navigateForward", + "when": "canNavigateForward" + }, + { + "key": "ctrl+shift+-", + "command": "-workbench.action.navigateForward", + "when": "canNavigateForward" + } +] \ No newline at end of file diff --git a/code/.config/Code/User/settings.json b/code/.config/Code/User/settings.json new file mode 100755 index 0000000..919c18c --- /dev/null +++ b/code/.config/Code/User/settings.json @@ -0,0 +1,33 @@ +// path="~/.config/Code/User +{ + "workbench.colorTheme": "Visual Studio Dark", + "editor.fontFamily": "'Victor Mono'", + "editor.fontWeight": 500, + "extensions.ignoreRecommendations": true, + "workbench.startupEditor": "none", + "git.openRepositoryInParentFolders": "never", + "security.workspace.trust.untrustedFiles": "open", + "diffEditor.codeLens": true, + "workbench.preferredHighContrastColorTheme": "Visual Studio Dark", + "vhdl.formatter.case.keyword": "LowerCase", + "vhdl.formatter.case.typename": "LowerCase", + "vhdl.formatter.align.all": true, + "vhdl.formatter.align.function": true, + "vhdl.formatter.align.generic": true, + "vhdl.formatter.align.port": true, + "vhdl.formatter.align.procedure": true, + "vhdl.formatter.align.mode": "Global", + "editor.minimap.renderCharacters": false, + "update.showReleaseNotes": false, + "editor.accessibilityPageSize": 100, + "editor.fontSize": 15, + "editor.stickyScroll.enabled": false, + "files.associations": { + "*.txt": "shellscript" + }, + "cmake.showOptionsMovedNotification": false, + "cmake.pinnedCommands": [ + "workbench.action.tasks.configureTaskRunner", + "workbench.action.tasks.runTask" + ], +} \ No newline at end of file