In the world of Jupyter Notebook, being fluent in its command language is key. Here's a rundown of the most commonly used commands and their descriptions:
|
Enter
|
Enter Edit Mode
|
|
H
|
Show all shortcuts
|
|
Up/K
|
Select cell above
|
|
Down/J
|
Select cell below
|
|
A
|
Insert cell above the current cell
|
|
B
|
Insert cell above the current cell
|
|
C
|
Copy selected cells
|
|
X
|
Cut selected cells
|
|
V
|
Paste cells below
|
|
D
|
Delete the selected cell.
|
|
D+D
|
Delete selected cells
|
|
Z
|
Undo cell deletion
|
|
M
|
Change cell type to Markdown
|
|
Y
|
Change cell type to Code
|
|
Shift+Arrow Up/Arrow Down
|
Select multiple cells.
|
|
Ctrl+Shift + '-'
|
Split the current cell at the cursor.
|
|
Shift+'M'
|
Merge selected cells.
|
|
Ctrl+Shift+'P'
|
Open the command palette.
|
|
Esc
|
Switch to command mode
|
|
Ctrl+Enter
|
Run cell
|
|
Shift+Enter
|
Run cell, select below
|
|
Alt+Enter
|
Run cell, insert below
|
|
Ctrl + End
|
Go to cell end.
|
|
Ctrl + Home
|
Go to cell start.
|
|
Ctrl+A
|
Select all
|
|
Ctrl+Z
|
Undo
|
|
Ctrl+Shift+Z / Ctrl+Y
|
Redo
|
|
Ctrl+S
|
Save and checkpoint
|
|
Tab
|
Code completion or indent
|
|
Ctrl+]
|
Indent
|
|
Ctrl+[
|
Dedent
|
|
Shift+Tab
|
Tooltip
|
|
Shift + Enter
|
Run the current cell and move the cursor to the next cell.
|
|
Ctrl + Enter
|
Run the current cell without moving the cursor.
|
|
Alt + Enter
|
run the current cell, insert below
|
|
Ctrl + S
|
save and checkpoint
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.