Jupyter Keyboard Shortcuts Flashcards
Enter edit mode
Enter
Run cell, select below
Shift-Enter
Run cell
Ctrl-Enter
Run cell, insert below
Alt-Enter
To code
Y
To markdown
M
To raw
R
To heading 1
1
To heading 2, 3, 4, 5, 6
2, 3, 4, 5, 6
Select cell above
Up/K
Select cell below
Down/J
Insert cell above
A
Insert cell below
B
Cut selected cell
X
Copy selected cell
C
Paste cell below
V
Undo last cell deletion
Z
Delete selected cell
D, D
Merge cell below
Shift-M
Save and checkpoint
Ctrl-S
Interrupt kernel
I, I
Restart kernel
0, 0
Scroll down
Space
Scroll up
Shift-Space
Code completion/indent
Tab
Indent
Ctrl-]
Dedent
Ctrl-[
Select all
Ctrl-A
Undo
Ctrl-Z
Redo
Ctrl-Shift-Z, Ctrl Y
Go to cell start
Home, Up
Go to cell end
End, Down
Go one word left
Ctrl-left
Go one word right
Ctrl-Right
Delete one word before
Ctrl-Backspace
Delete one word after
Ctrl-Delete
Enter command mode
Esc, Ctrl-M
Split cell
Ctrl-Shift-Subtract
Previous cell
Up
Next cell
Down
Toggle comment on current cell
Ctrl-/