From 2a6d2cbb4d5b91d9edfb9e1903f3ebd7612853c7 Mon Sep 17 00:00:00 2001 From: Paul Aumann Date: Wed, 21 Aug 2024 01:24:33 +0200 Subject: [PATCH] vscode changes --- .config/Code/User/keybindings.json | 28 ++++++++++++++++++++++++++++ .config/Code/User/settings.json | 8 ++++++++ 2 files changed, 36 insertions(+) diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index 535c48e..c261906 100644 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -196,4 +196,32 @@ "command": "-editor.action.peekImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, + { + "key": "alt+[BracketRight]", + "command": "jupyter.insertCellBelow", + "when": "editorTextFocus && jupyter.hascodecells && !jupyter.webExtension && !notebookEditorFocused" + }, + { + "key": "ctrl+shift+[Comma] b", + "command": "-jupyter.insertCellBelow", + "when": "editorTextFocus && jupyter.hascodecells && !jupyter.webExtension && !notebookEditorFocused" + }, + { + "key": "shift+alt+[BracketRight]", + "command": "jupyter.insertCellAbove", + "when": "editorTextFocus && jupyter.hascodecells && !jupyter.webExtension && !notebookEditorFocused" + }, + { + "key": "ctrl+shift+[Comma] a", + "command": "-jupyter.insertCellAbove", + "when": "editorTextFocus && jupyter.hascodecells && !jupyter.webExtension && !notebookEditorFocused" + }, + { + "key": "ctrl+down", + "command": "jupyter.gotoNextCellInFile" + }, + { + "key": "ctrl+up", + "command": "jupyter.gotoPrevCellInFile" + }, ] \ No newline at end of file diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 9bdda4a..a9fbed4 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -95,5 +95,13 @@ "editor.tabSize": 2, "emmet.showAbbreviationSuggestions": false, "editor.linkedEditing": true, + "editor.codeActionsOnSave": { + "source.organizeImports": "always" + } }, + "hexeditor.columnWidth": 4, + "hexeditor.showDecodedText": true, + "hexeditor.defaultEndianness": "little", + "hexeditor.inspectorType": "aside", + "typst-lsp.exportPdf": "onType", } \ No newline at end of file