From 99e98b1766ac79231534254c081e484f48157701 Mon Sep 17 00:00:00 2001 From: NotXia <35894453+NotXia@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:29:19 +0100 Subject: [PATCH] VSCode changes --- .config/Code/User/keybindings.json | 32 ++++++++++++++++++++++++++++++ .config/Code/User/settings.json | 6 ++++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index 60e274f..bbdec66 100644 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -29,5 +29,37 @@ "key": "ctrl+z", "command": "-undo", "when": "notebookEditorFocused" + }, + + // Toggle between terminal and editor focus + { + "key": "ctrl+'", + "command": "workbench.action.terminal.focus" + }, + { + "key": "ctrl+'", + "command": "workbench.action.focusActiveEditorGroup", + "when": "terminalFocus" + }, + { + "key": "alt+right", + "command": "workbench.action.moveEditorToNextGroup" + }, + { + "key": "ctrl+alt+right", + "command": "-workbench.action.moveEditorToNextGroup" + }, + { + "key": "alt+left", + "command": "workbench.action.moveEditorToPreviousGroup" + }, + { + "key": "ctrl+alt+left", + "command": "-workbench.action.moveEditorToPreviousGroup" + }, + { + "key": "ctrl+shift+c", + "command": "-workbench.action.terminal.openNativeConsole", + "when": "!terminalFocus" } ] \ No newline at end of file diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index befe0a3..b9c955c 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -1,6 +1,6 @@ { "editor.multiCursorModifier": "ctrlCmd", - "editor.renderWhitespace": "trailing", + "editor.renderWhitespace": "none", "editor.suggestSelection": "recentlyUsed", "editor.accessibilitySupport": "off", "explorer.confirmPasteNative": false, @@ -78,7 +78,7 @@ }, "notebook.lineNumbers": "on", "notebook.output.scrolling": true, - "jupyter.askForKernelRestart": true, + "jupyter.askForKernelRestart": false, "jupyter.widgetScriptSources": [ "jsdelivr.com", "unpkg.com" @@ -222,4 +222,6 @@ "ltex.additionalRules.enablePickyRules": true, "ltex.additionalRules.motherTongue": "it", "ltex.statusBarItem": true, + "editor.mouseWheelScrollSensitivity": 1.5, + "git.openRepositoryInParentFolders": "never", } \ No newline at end of file