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

​