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