Show More
@@ -319,6 +319,21 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 === 55 && that.control_key_active) { | |||
|
323 | // Split cell = w | |||
|
324 | that.split_cell(); | |||
|
325 | that.control_key_active = 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; | |||
322 | } else if (that.control_key_active) { |
|
337 | } else if (that.control_key_active) { | |
323 | that.control_key_active = false; |
|
338 | that.control_key_active = false; | |
324 | return true; |
|
339 | return true; |
@@ -44,6 +44,9 b' var IPython = (function (IPython) {' | |||||
44 | {key: 'Ctrl-m m', help: 'markdown cell'}, |
|
44 | {key: 'Ctrl-m m', help: 'markdown cell'}, | |
45 | {key: 'Ctrl-m t', help: 'raw cell'}, |
|
45 | {key: 'Ctrl-m t', help: 'raw cell'}, | |
46 | {key: 'Ctrl-m 1-6', help: 'heading 1-6 cell'}, |
|
46 | {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'}, | |||
47 | {key: 'Ctrl-m p', help: 'select previous'}, |
|
50 | {key: 'Ctrl-m p', help: 'select previous'}, | |
48 | {key: 'Ctrl-m n', help: 'select next'}, |
|
51 | {key: 'Ctrl-m n', help: 'select next'}, | |
49 | {key: 'Ctrl-m i', help: 'interrupt kernel'}, |
|
52 | {key: 'Ctrl-m i', help: 'interrupt kernel'}, |
General Comments 0
You need to be logged in to leave comments.
Login now