Jupyter Notebook macOS Shortcuts
| Action | macOS Shortcut |
|---|---|
| Run cells | |
| Run cell, select below | ⇧Enter |
| Run cell, stay | ⌃Enter |
| Run cell, insert below | ⌥Enter |
| Interrupt kernel | II |
| Restart kernel | 00 |
| Command mode | |
| Enter command mode | Esc |
| Insert cell above | A |
| Insert cell below | B |
| Delete cell | DD |
| Undo cell deletion | Z |
| Change to Markdown | M |
| Change to code | Y |
| Cut cell | X |
| Copy cell | C |
| Paste cell below | V |
| Toggle line numbers | ⇧L |
| Edit mode | |
| Enter edit mode | Enter |
| Code completion / indent | Tab |
| Tooltip / docstring | ⇧Tab |
| Comment line | ⌘/ |
| Split cell at cursor | ⌃⇧Minus |
| File & Find | |
| Save notebook | ⌘S |
| Find | ⌘F |
| Open command palette | ⌘⇧C |