diff --git a/packages/notebook-extension/src/index.ts b/packages/notebook-extension/src/index.ts index ec421ad4b..527f01ae0 100644 --- a/packages/notebook-extension/src/index.ts +++ b/packages/notebook-extension/src/index.ts @@ -262,28 +262,6 @@ const menuPlugin: JupyterFrontEndPlugin = { } }; -/** - * A plugin to add an extra shortcut to execute a cell in place via Cmd-Enter on Mac. - * TODO: switch to settings define menus when fixed upstream: https://github.com/jupyterlab/jupyterlab/issues/11754 - */ -const runShortcut: JupyterFrontEndPlugin = { - id: '@jupyter-notebook/notebook-extension:run-shortcut', - autoStart: true, - activate: (app: JupyterFrontEnd) => { - app.commands.addKeyBinding({ - command: 'notebook:run-cell', - keys: ['Accel Enter'], - selector: '.jp-Notebook:focus' - }); - - app.commands.addKeyBinding({ - command: 'notebook:run-cell', - keys: ['Accel Enter'], - selector: '.jp-Notebook.jp-mod-editMode' - }); - } -}; - /** * A plugin to enable scrolling for outputs by default. * Mimic the logic from the classic notebook, as found here: @@ -381,7 +359,6 @@ const plugins: JupyterFrontEndPlugin[] = [ kernelLogo, kernelStatus, menuPlugin, - runShortcut, scrollOutput ];