Hotkeys and shortcuts for Jupyter Notebook

(Total 59)

⤶ Enter
Command mode
Enter edit mode
↑   Shift + ⤶ Enter
Edit mode
Run cell, select below
Ctrl + ⤶ Enter
Edit mode
Run cell
Alt + ⤶ Enter
Edit mode
Run cell, insert below
Y
Command mode
Go to code
M
Command mode
Go to markdown
R
Command mode
Go to raw
1
Command mode
Go to heading 1
2
Command mode
…to <keybs>6</keybs>:  Go to heading 2, 3, 4, 5, 6
Edit mode
Move cursor up or previous cell
K
Command mode
Select cell above
Edit mode
Move cursor down or next cell
J
Command mode
Select cell below
A
Command mode
Insert cell above
B
Command mode
Insert cell below
X
Command mode
Cut selected cell
C
Command mode
Copy selected cell
↑   Shift + V
Command mode
Paste cell above
V
Command mode
Paste cell below
Z
Command mode
Undo last cell deletion
D then D
Command mode
Delete selected cell
↑   Shift + M
Misc
Merge multiple cells
Ctrl + S
Edit mode
Save and Checkpoint
L
Command mode
Toggle line numbers
O
Command mode
Toggle output
↑   Shift + O
Command mode
Toggle output scrolling
Esc
Edit mode
Command mode
H
Command mode
Show keyboard shortcut help dialog
I then I
Command mode
Interrupt kernel
0
Command mode
Restart kernel
Space
Command mode
Scroll down
↑   Shift + Space
Command mode
Scroll up
↑   Shift
Command mode
Ignore
⭾ Tab
Edit mode
Code completion or indent
↑   Shift + ⭾ Tab
Misc
Show the Docstring (documentation) for the the object you have just typed in a code cell
Ctrl + ]
Edit mode
Indent
Ctrl + [
Edit mode
Dedent
Ctrl + A
Edit mode
Select all
Ctrl + Z
Edit mode
Undo
Ctrl + ↑   Shift + Z
Edit mode
Redo
Ctrl + Y
Edit mode
Redo
Ctrl + Home
Edit mode
Go to cell start
Ctrl +
Edit mode
Go to cell start
Ctrl + End
Edit mode
Go to cell end
Ctrl +
Edit mode
Go to cell end
Ctrl +
Edit mode
Go one word left
Ctrl +
Edit mode
Go one word right
Ctrl + ⬅ Backspace
Edit mode
Delete word before
Ctrl + Del
Edit mode
Delete word after
Ctrl + M
Edit mode
Command mode
Ctrl + ↑   Shift + -
Misc
Split cell into two
Ctrl + /
Edit mode
Toggle comment on current or selected lines
Ctrl + ↑   Shift + P
Misc
Command palette
Esc + F
Misc
Find and replace in code
Esc + O
Misc
Toggle cell output
↑   Shift + J
Misc
Select next cell in downwards direction
↑   Shift +
Misc
Select next cell in downwards direction
↑   Shift + K
Misc
Select cell above
↑   Shift +
Misc
Select cell above