Skip to content

Commit 4775ee5

Browse files
authored
use cmdtrl-enter to run a cell (#5120)
Instead of ctrl-enter to run a cell, use cmdtrl-enter - this will provide better ux for mac users.
1 parent f42f240 commit 4775ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/static/notebook/js/keyboardmanager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ define([
104104
return {
105105
'shift' : 'jupyter-notebook:ignore',
106106
'shift-enter' : 'jupyter-notebook:run-cell-and-select-next',
107-
'ctrl-enter' : 'jupyter-notebook:run-cell',
108107
'alt-enter' : 'jupyter-notebook:run-cell-and-insert-below',
109108
// cmd on mac, ctrl otherwise
109+
'cmdtrl-enter' : 'jupyter-notebook:run-cell',
110110
'cmdtrl-s' : 'jupyter-notebook:save-notebook'
111111
};
112112
};

0 commit comments

Comments
 (0)