Skip to content

Commit e28a393

Browse files
authored
Add shortcuts for cut, copy, paste and split cells (#12338)
For #10496 Jupyter keyboard shorcuts for cut, copy, paste & split cells
1 parent f9ab42a commit e28a393

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,37 @@
183183
"key": "Z",
184184
"when": "notebookEditorFocused && !inputFocus",
185185
"command": "notebook.undo"
186+
},
187+
{
188+
"mac": "C",
189+
"win": "C",
190+
"linux": "C",
191+
"key": "C",
192+
"when": "notebookEditorFocused && !inputFocus",
193+
"command": "notebook.cell.copy"
194+
},
195+
{
196+
"mac": "X",
197+
"win": "X",
198+
"linux": "X",
199+
"key": "X",
200+
"when": "notebookEditorFocused && !inputFocus",
201+
"command": "notebook.cell.cut"
202+
},
203+
{
204+
"mac": "V",
205+
"win": "V",
206+
"linux": "V",
207+
"key": "V",
208+
"when": "notebookEditorFocused && !inputFocus",
209+
"command": "notebook.cell.paste"
210+
},
211+
{
212+
"mac": "ctrl+shift+-",
213+
"win": "ctrl+shift+-",
214+
"linux": "ctrl+shift+-",
215+
"when": "editorTextFocus && inputFocus && notebookEditorFocused",
216+
"command": "notebook.cell.split"
186217
}
187218
],
188219
"commands": [

0 commit comments

Comments
 (0)