Show More
@@ -114,6 +114,10 b' var IPython = (function (IPython) {' | |||
|
114 | 114 | } else if (event.which === key.ENTER && event.shiftKey) { |
|
115 | 115 | that.execute_selected_cell(); |
|
116 | 116 | return false; |
|
117 | } else if (event.which === key.ENTER && event.altKey) { | |
|
118 | that.execute_selected_cell(); | |
|
119 | that.insert_cell_above('code'); | |
|
120 | return false; | |
|
117 | 121 | } else if (event.which === key.ENTER && event.ctrlKey) { |
|
118 | 122 | that.execute_selected_cell({terminal:true}); |
|
119 | 123 | return false; |
@@ -28,6 +28,7 b' var IPython = (function (IPython) {' | |||
|
28 | 28 | var shortcuts = [ |
|
29 | 29 | {key: 'Shift-Enter', help: 'run cell'}, |
|
30 | 30 | {key: 'Ctrl-Enter', help: 'run cell in-place'}, |
|
31 | {key: 'Alt-Enter', help: 'run cell, insert below'}, | |
|
31 | 32 | {key: 'Ctrl-m x', help: 'cut cell'}, |
|
32 | 33 | {key: 'Ctrl-m c', help: 'copy cell'}, |
|
33 | 34 | {key: 'Ctrl-m v', help: 'paste cell'}, |
General Comments 0
You need to be logged in to leave comments.
Login now