diff --git a/package.json b/package.json index b682b1f..b5488f4 100644 --- a/package.json +++ b/package.json @@ -1355,6 +1355,20 @@ "when": "editorTextFocus && !editorReadonly", "intellij": "Start new line before current" }, + { + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", + "command": "notebook.cell.execute", + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", + "notebook": "To keep Notebook key bindings" + }, + { + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", + "command": "notebook.cell.quitEdit", + "when": "inputFocus && notebookEditorFocused && notebookCellType == 'markup'", + "notebook": "To keep Notebook key bindings" + }, { "key": "shift+ctrl+enter", "mac": "shift+cmd+enter", diff --git a/src/package-with-comment.json b/src/package-with-comment.json index 21e8338..d0f80b9 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -1819,6 +1819,20 @@ "when": "editorTextFocus && !editorReadonly", "intellij": "Start new line before current" }, + { + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", + "command": "notebook.cell.execute", + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", + "notebook": "To keep Notebook key bindings" + }, + { + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", + "command": "notebook.cell.quitEdit", + "when": "inputFocus && notebookEditorFocused && notebookCellType == 'markup'", + "notebook": "To keep Notebook key bindings" + }, { "key": "shift+ctrl+enter", "mac": "shift+cmd+enter",