Skip to content

Commit 57f8150

Browse files
authored
Merge pull request #5847 from kevin-bates/restore-mac-ctrl-enter
Restore ctrl-enter shortcut behavior for macOS users
2 parents 7221718 + c893b59 commit 57f8150

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notebook/static/notebook/js/keyboardmanager.js

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ define([
105105
'shift' : 'jupyter-notebook:ignore',
106106
'shift-enter' : 'jupyter-notebook:run-cell-and-select-next',
107107
'alt-enter' : 'jupyter-notebook:run-cell-and-insert-below',
108+
'ctrl-enter' : 'jupyter-notebook:run-cell',
108109
// cmd on mac, ctrl otherwise
109110
'cmdtrl-enter' : 'jupyter-notebook:run-cell',
110111
'cmdtrl-s' : 'jupyter-notebook:save-notebook'

0 commit comments

Comments
 (0)