Keyboard shortcuts

⌨️ General

Mac
Windows & Linux
Action
⌘P
Ctrl+P
Show/Hide command palette
If you need to quickly look up keyboard shortcuts in Deepnote, just start typing Keyboard shortcuts in the command palette.

▶️ Cell actions

Mac
Windows & Linux
Action
⇧↵
Shift+Enter
Run current cell and move cursor to next cell
(creates a new cell if at the end of the notebook)
⌘↵
Ctrl+Enter
Run current cell
⌘⇧↵
Ctrl+Shift+Enter
Execute all cells
⌘⇧C
Ctrl+Shift+C
Stop execution
⌘⇧H
Ctrl+Shift+H
Hide/Show cell output
⌘M
Ctrl+M
Toggle cell type between code and text
⌘⇧⌫
Ctrl+Shift+Backspace
Delete cell
⌥⇧↑
Alt+Shift+Up
Move cell up
⌥⇧↓
Alt+Shift+Down
Move cell down
⌘⇧D
Ctrl+Shift+D
Duplicate cell
⌘K
Ctrl+K
Add new code cell below current one
⌘J
Ctrl+J
Add new text cell below current one
⌘Z
Ctrl+Z
Undo
⌘⇧Z
Ctrl+Y
Redo

✍️ Code editing

Mac
Windows & Linux
Action
⌘D
Ctrl+D
Expand selection (multiple cursors)
Tab
Tab
When caret is at the beginning of a line, add indent
Otherwise, show autocomplete suggestions
⇧Tab
Shift+Tab
Decrease indent
⌘/
Ctrl+/
Toggle line/selection comment
⌥↓
Alt+Down
Move lines down
⌥↑
Alt+Up
Move lines up
​
Last modified 1yr ago