Show More
@@ -319,21 +319,11 b' var IPython = (function (IPython) {' | |||||
319 | that.undelete(); |
|
319 | that.undelete(); | |
320 | that.control_key_active = false; |
|
320 | that.control_key_active = false; | |
321 | return false; |
|
321 | return false; | |
322 |
} else if (event.which === |
|
322 | } else if (event.which === 189 && that.control_key_active) { | |
323 |
// Split cell = |
|
323 | // Split cell = - | |
324 | that.split_cell(); |
|
324 | that.split_cell(); | |
325 | that.control_key_active = false; |
|
325 | that.control_key_active = false; | |
326 | return false; |
|
326 | return false; | |
327 | } else if (event.which === 56 && that.control_key_active) { |
|
|||
328 | // Merge cell above = e |
|
|||
329 | that.merge_cell_above(); |
|
|||
330 | that.control_key_active = false; |
|
|||
331 | return false; |
|
|||
332 | } else if (event.which === 57 && that.control_key_active) { |
|
|||
333 | // Merge cell below = r |
|
|||
334 | that.merge_cell_below(); |
|
|||
335 | that.control_key_active = false; |
|
|||
336 | return false; |
|
|||
337 | } else if (that.control_key_active) { |
|
327 | } else if (that.control_key_active) { | |
338 | that.control_key_active = false; |
|
328 | that.control_key_active = false; | |
339 | return true; |
|
329 | return true; |
@@ -32,6 +32,7 b' var IPython = (function (IPython) {' | |||||
32 | {key: 'Ctrl-m v', help: 'paste cell'}, |
|
32 | {key: 'Ctrl-m v', help: 'paste cell'}, | |
33 | {key: 'Ctrl-m d', help: 'delete cell'}, |
|
33 | {key: 'Ctrl-m d', help: 'delete cell'}, | |
34 | {key: 'Ctrl-m z', help: 'undo last cell deletion'}, |
|
34 | {key: 'Ctrl-m z', help: 'undo last cell deletion'}, | |
|
35 | {key: 'Ctrl-m -', help: 'split cell'}, | |||
35 | {key: 'Ctrl-m a', help: 'insert cell above'}, |
|
36 | {key: 'Ctrl-m a', help: 'insert cell above'}, | |
36 | {key: 'Ctrl-m b', help: 'insert cell below'}, |
|
37 | {key: 'Ctrl-m b', help: 'insert cell below'}, | |
37 | {key: 'Ctrl-m o', help: 'toggle output'}, |
|
38 | {key: 'Ctrl-m o', help: 'toggle output'}, | |
@@ -44,9 +45,6 b' var IPython = (function (IPython) {' | |||||
44 | {key: 'Ctrl-m m', help: 'markdown cell'}, |
|
45 | {key: 'Ctrl-m m', help: 'markdown cell'}, | |
45 | {key: 'Ctrl-m t', help: 'raw cell'}, |
|
46 | {key: 'Ctrl-m t', help: 'raw cell'}, | |
46 | {key: 'Ctrl-m 1-6', help: 'heading 1-6 cell'}, |
|
47 | {key: 'Ctrl-m 1-6', help: 'heading 1-6 cell'}, | |
47 | {key: 'Ctrl-m 7', help: 'split cell'}, |
|
|||
48 | {key: 'Ctrl-m 8', help: 'merge cell above'}, |
|
|||
49 | {key: 'Ctrl-m 9', help: 'merge cell below'}, |
|
|||
50 | {key: 'Ctrl-m p', help: 'select previous'}, |
|
48 | {key: 'Ctrl-m p', help: 'select previous'}, | |
51 | {key: 'Ctrl-m n', help: 'select next'}, |
|
49 | {key: 'Ctrl-m n', help: 'select next'}, | |
52 | {key: 'Ctrl-m i', help: 'interrupt kernel'}, |
|
50 | {key: 'Ctrl-m i', help: 'interrupt kernel'}, |
General Comments 0
You need to be logged in to leave comments.
Login now