Skip to content

Commit

Permalink
past below by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Nov 18, 2012
1 parent 1d61e05 commit 0f43c4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions IPython/frontend/html/notebook/static/js/maintoolbar.js
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions IPython/frontend/html/notebook/static/js/notebook.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 0f43c4f

Please sign in to comment.