Show More
@@ -41,7 +41,7 var IPython = (function (IPython) { | |||||
41 |
|
41 | |||
42 | // These apply to Firefox and Opera |
|
42 | // These apply to Firefox and Opera | |
43 | var _mozilla_keycodes = { |
|
43 | var _mozilla_keycodes = { | |
44 |
'; :': 59, '= +': 61, '- _': 1 |
|
44 | '; :': 59, '= +': 61, '- _': 173, 'meta': 224 | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | // This apply to Webkit and IE |
|
47 | // This apply to Webkit and IE | |
@@ -176,6 +176,13 var IPython = (function (IPython) { | |||||
176 | return false; |
|
176 | return false; | |
177 | } |
|
177 | } | |
178 | }, |
|
178 | }, | |
|
179 | 'alt+subtract' : { | |||
|
180 | help : 'split cell', | |||
|
181 | handler : function (event) { | |||
|
182 | IPython.notebook.split_cell(); | |||
|
183 | return false; | |||
|
184 | } | |||
|
185 | }, | |||
179 | } |
|
186 | } | |
180 |
|
187 | |||
181 | // Command mode defaults |
|
188 | // Command mode defaults | |
@@ -426,13 +433,6 var IPython = (function (IPython) { | |||||
426 | return false; |
|
433 | return false; | |
427 | } |
|
434 | } | |
428 | }, |
|
435 | }, | |
429 | '-' : { |
|
|||
430 | help : 'split cell', |
|
|||
431 | handler : function (event) { |
|
|||
432 | IPython.notebook.split_cell(); |
|
|||
433 | return false; |
|
|||
434 | } |
|
|||
435 | }, |
|
|||
436 | 'shift+=' : { |
|
436 | 'shift+=' : { | |
437 | help : 'merge cell below', |
|
437 | help : 'merge cell below', | |
438 | handler : function (event) { |
|
438 | handler : function (event) { |
General Comments 0
You need to be logged in to leave comments.
Login now