Merge pull request #1 from Carreau/pr2572

paste below by default
David Warde-Farley 14 years ago
commit e3255ce471

@ -51,10 +51,10 @@ var IPython = (function (IPython) {
},
{
id : 'paste_b',
label : 'Paste Cell Above',
label : 'Paste Cell Below',
icon : 'ui-icon-clipboard',
callback : function () {
IPython.notebook.paste_cell_above();
IPython.notebook.paste_cell_below();
}
}
],'cut_copy_paste');

@ -142,8 +142,8 @@ var IPython = (function (IPython) {
that.control_key_active = false;
return false;
} else if (event.which === 86 && that.control_key_active) {
// Paste above selected cell = v
that.paste_cell_above();
// Paste below selected cell = v
that.paste_cell_below();
that.control_key_active = false;
return false;
} else if (event.which === 68 && that.control_key_active) {

Loading…
Cancel
Save