Unbind shift+enter to stop unintentionally running python code.

This commit is contained in:
Tom Alexander 2025-09-19 10:04:09 -04:00
parent b72fa0edff
commit c96c4d3ddb
No known key found for this signature in database
GPG Key ID: D3A179C9A53C0EDE

View File

@ -282,5 +282,15 @@
{
"key": "ctrl+k ctrl+p",
"command": "-workbench.action.showAllEditors"
},
{
"key": "shift+enter",
"command": "-python.execInREPL",
"when": "config.python.REPL.sendToNativeREPL && editorTextFocus && !isCompositeNotebook && !jupyter.ownsSelection && !notebookEditorFocused && editorLangId == 'python'"
},
{
"key": "shift+enter",
"command": "-python.execSelectionInTerminal",
"when": "editorTextFocus && !findInputFocussed && !isCompositeNotebook && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'"
}
]