Jupyter Notebook Shortcuts
Command Mode17
| Enter edit mode | ↩ |
| Insert cell above | A |
| Insert cell below | B |
| Delete selected cell | D D |
| Undo cell deletion | Z |
| Change cell to Code | Y |
| Change cell to Markdown | M |
| Select cell above | ↑ |
| Select cell below | ↓ |
| Extend selection above | ⇧↑ |
| Extend selection below | ⇧↓ |
| Cut selected cells | X |
| Copy selected cells | C |
| Paste cells below | V |
| Paste cells above | ⇧V |
| Merge selected cells | ⇧M |
| Show shortcuts | H |
Edit Mode11
| Enter command mode | Esc |
| Run cell | ⌃↩ |
| Run cell and select below | ⇧↩ |
| Run cell and insert below | ⌥↩ |
| Undo | ⌘Z |
| Redo | ⇧⌘Z |
| Code completion / indent | Tab |
| Tooltip / dedent | ⇧Tab |
| Select all | ⌘A |
| Delete line | ⌘D |
| Toggle comment | ⌘/ |
Access Jupyter Notebook shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.
Enter edit mode↩
Insert cell aboveA
Insert cell belowB