Fixing a few keyboard codes and shortcuts.

pull/37/head
Brian E. Granger 12 years ago
parent 77fd1ff6e5
commit 6dcdb26fa4

@ -41,7 +41,7 @@ var IPython = (function (IPython) {
// These apply to Firefox and Opera
var _mozilla_keycodes = {
'; :': 59, '= +': 61, '- _': 109,
'; :': 59, '= +': 61, '- _': 173, 'meta': 224
}
// This apply to Webkit and IE
@ -176,6 +176,13 @@ var IPython = (function (IPython) {
return false;
}
},
'alt+subtract' : {
help : 'split cell',
handler : function (event) {
IPython.notebook.split_cell();
return false;
}
},
}
// Command mode defaults
@ -426,13 +433,6 @@ var IPython = (function (IPython) {
return false;
}
},
'-' : {
help : 'split cell',
handler : function (event) {
IPython.notebook.split_cell();
return false;
}
},
'shift+=' : {
help : 'merge cell below',
handler : function (event) {

Loading…
Cancel
Save