Merge pull request #5847 from kevin-bates/restore-mac-ctrl-enter

Restore ctrl-enter shortcut behavior for macOS users
This commit is contained in:
Zachary Sailer 2020-11-04 07:32:23 -08:00 committed by GitHub
commit 57f8150ab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,7 @@ define([
'shift' : 'jupyter-notebook:ignore',
'shift-enter' : 'jupyter-notebook:run-cell-and-select-next',
'alt-enter' : 'jupyter-notebook:run-cell-and-insert-below',
'ctrl-enter' : 'jupyter-notebook:run-cell',
// cmd on mac, ctrl otherwise
'cmdtrl-enter' : 'jupyter-notebook:run-cell',
'cmdtrl-s' : 'jupyter-notebook:save-notebook'