Jupyter Notebook Shortcuts

Development·33 shortcuts·2 sections·Also on: macOS

Command Mode22

Enter edit modeEnter
Insert cell aboveA
Insert cell belowB
Delete selected cellD D
Undo cell deletionZ
Change cell to CodeY
Change cell to MarkdownM
Select cell above
Select cell below
Extend selection aboveShift
Extend selection belowShift
Cut selected cellsX
Copy selected cellsC
Paste cells belowV
Paste cells aboveShiftV
Merge selected cellsShiftM
Show shortcutsH
Save notebookS
Toggle line numbersL
Toggle outputO
Interrupt kernelI I
Restart kernel0 0

Edit Mode11

Enter command modeEsc
Run cellCtrlEnter
Run cell and select belowShiftEnter
Run cell and insert belowAltEnter
UndoCtrlZ
RedoShiftCtrlZ
Code completion / indentTab
Tooltip / dedentShiftTab
Select allCtrlA
Delete lineCtrlD
Toggle commentCtrl/

Access Jupyter Notebook shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.

Enter edit modeEnter
Insert cell aboveA
Insert cell belowB