Skip to content

Commit

Permalink
Add shortcuts for cut, copy, paste and split cells (#12338)
Browse files Browse the repository at this point in the history
For #10496

Jupyter keyboard shorcuts for cut, copy, paste & split cells
  • Loading branch information
DonJayamanne authored Jun 13, 2020
1 parent f9ab42a commit e28a393
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,37 @@
"key": "Z",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.undo"
},
{
"mac": "C",
"win": "C",
"linux": "C",
"key": "C",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.copy"
},
{
"mac": "X",
"win": "X",
"linux": "X",
"key": "X",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.cut"
},
{
"mac": "V",
"win": "V",
"linux": "V",
"key": "V",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.paste"
},
{
"mac": "ctrl+shift+-",
"win": "ctrl+shift+-",
"linux": "ctrl+shift+-",
"when": "editorTextFocus && inputFocus && notebookEditorFocused",
"command": "notebook.cell.split"
}
],
"commands": [
Expand Down

0 comments on commit e28a393

Please sign in to comment.