Keyboard Shortcut Reference
Advertisement placeholder
🔬

Jupyter Notebook Keyboard Shortcuts

30 shortcuts across 3 categories WindowsMac

Command Mode

Action Windows Mac
Enter edit mode Enter Enter
Run cell and select below Shift + Enter Shift + Enter
Run cell Ctrl + Enter Ctrl + Enter
Run cell and insert below Alt + Enter Option + Enter
Insert cell above A A
Insert cell below B B
Delete cell D, D D, D
Copy cell C C
Paste cell V V
Cut cell X X
Undo cell delete Z Z
Cell to Markdown M M
Cell to Code Y Y
Select cell above Up / K Up / K
Select cell below Down / J Down / J
Merge cells Shift + M Shift + M

Edit Mode

Action Windows Mac
Exit to command mode Escape Escape
Code completion Tab Tab
Tooltip/docs Shift + Tab Shift + Tab
Indent Ctrl + ] Cmd + ]
Dedent Ctrl + [ Cmd + [
Select all Ctrl + A Cmd + A
Undo Ctrl + Z Cmd + Z
Redo Ctrl + Y Cmd + Shift + Z
Toggle comment Ctrl + / Cmd + /
Split cell at cursor Ctrl + Shift + - Cmd + Shift + -

Kernel

Action Windows Mac
Interrupt kernel I, I I, I
Restart kernel 0, 0 0, 0
Save notebook Ctrl + S Cmd + S
Command palette Ctrl + Shift + P Cmd + Shift + P