Does JupyterLab support keyboard shortcut with '⌘' button on Mac?

Dear All,

JupyterLab is a wonderful IDE with extraordinary UI. However, I am used to some keyboard shortcuts with the ‘⌘’ button in other IDE, and so, I want those shortcuts can work in JupyterLab too. Hence, I tried to set the keyboard shortcut as following,

However, it seems that ‘⌘+Enter’ doesn’t work at all.

Do I miss something or ‘⌘’ is not supported in JupyterLab?

I appreciate and looking forward to your kind help.

Sincerely,

hawkiyc

(For anyone else who might find themselves here from Google in the future): yes, but the appropriate names to use in the settings editor is Cmd or Accel (for platform-independent version). In your example it would be "keys": ["Accel Enter"] or "keys": ["Cmd Enter"]. Full answer in Does JupyterLab support keyboard shortcut with '⌘' button on Mac? · Issue #10637 · jupyterlab/jupyterlab · GitHub.

1 Like