From 8bbd7904378d914bb2392482a96633a10f963b9f Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Sun, 27 Feb 2022 21:15:10 -0500 Subject: [PATCH] Adding VSCode custom keybindings --- .../private_Code - OSS/User/keybindings.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dot_config/private_Code - OSS/User/keybindings.json diff --git a/dot_config/private_Code - OSS/User/keybindings.json b/dot_config/private_Code - OSS/User/keybindings.json new file mode 100644 index 0000000..e85b388 --- /dev/null +++ b/dot_config/private_Code - OSS/User/keybindings.json @@ -0,0 +1,30 @@ +// Place your key bindings in this file to override the defaults +[ + // Disable Find in Files using Ctrl+Shift+F + { + "key": "ctrl+shift+f", + "command": "-workbench.action.findInFiles" + }, + + // Format Code: ctrl+shift+f + { + "key": "ctrl+shift+f", + "command": "notebook.formatCell", + "when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" + }, + { + "key": "ctrl+shift+i", + "command": "-notebook.formatCell", + "when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" + }, + { + "key": "ctrl+shift+f", + "command": "editor.action.formatDocument", + "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" + }, + { + "key": "ctrl+shift+i", + "command": "-editor.action.formatDocument", + "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" + } +] \ No newline at end of file