Pulled from microsoft/vscode-python#11781 * insert cell above current cell * insert cell below current cell * insert cell at current line (start of cursor line and insert # %%\n) * delete current cell * toggle cell type code and markdown (ideally toggle to markdown would do a block line comment) * cut current cell * copy current cell * select all current cell * collapse current cell (for the code folding) * split cell (auto insert # %% or equivalent -- Would a snippet suffice?) cc @Yura52, @earthastronaut
Activity
[-]Python script cell (% ##) keyboard shortcuts[/-][+]Python script cell (# %%) keyboard shortcuts[/+]luabud commentedon Aug 13, 2020
Here are the commands and the default shortcuts:
Python: Go to Next Cell (Ctrl + Alt + ])
Python: Go to Previous Cell (Ctrl + Alt + [)
Python: Extend Selection by Cell Above (Ctrl + Shift + Alt + [)
Python: Extend Selection by Cell Below (Ctrl + Shift + Alt + ])
Python: Move Selected Cells Up (Ctrl + ; U)
Python: Move Selected Cells Down (Ctrl + ; D)
Python: Insert Cell Above (Ctrl + ; A)
Python: Insert Cell Below (Ctrl + ; B)
Python: Insert Cell Below Position (Ctrl + ; S) (aka Split cell)
Python: Delete Selected Cells (Ctrl + ; X)
Python: Change Cell to Code (Ctrl + ; C)
Python: Change Cell to Markdown (Ctrl + ; M)