past below by default

This commit is contained in:
Matthias BUSSONNIER 2012-11-18 12:30:36 +01:00
parent a9910aa408
commit a56ee187ff
2 changed files with 4 additions and 4 deletions

View File

@ -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');

View File

@ -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) {