Zed cheat sheet for Mac and Windows

50 shortcuts in 10 lessons for Mac

45 shortcuts in 10 lessons for Windows

Reading a list won't make them stick. ShortcutFoo has you type each shortcut, then brings it back just before you'd forget it.

Zed shortcuts for Mac

Essentials

7 shortcuts
  • ⌘⇧P
    Command palette
  • ⌘P
    Go to file
  • ⌘⇧O
    Go to symbol in file
  • ^G
    Go to line
  • ⌘⇧F
    Find in project
  • ⇧ESC
    Toggle zoom
  • ⌘K⌘S
    Open keymap

Agent Panel I

6 shortcuts
  • ⌘⇧?
    Focus the agent panel
  • ⌘⌥J
    Open the threads sidebar
  • ⌘⇧>
    Add selection to thread
  • ⌘⌥/
    Model selector
  • ⇧TAB
    Cycle mode
  • ^⇧R
    Review changes

Agent Panel II

5 shortcuts
  • ⌥⇧Y
    Keep all changes
  • ⌥⇧Z
    Reject all changes
  • ⌘⌥K
    Toggle thinking mode
  • ⌘⇧V
    Paste raw text
  • ^;
    Add-context menu

Editing I

6 shortcuts
  • ⌥UP
    Move line up
  • ⌥DOWN
    Move line down
  • ⌘⇧K
    Delete line
  • ⌘/
    Toggle line comment
  • ⌘↵
    Newline below
  • ⌘⇧↵
    Newline above

Editing II

5 shortcuts
  • ⌘]
    Indent
  • ⌘[
    Outdent
  • ⌘L
    Select line
  • ^SPACE
    Show completions
  • ⌘KZ
    Toggle soft wrap

Code Navigation I

4 shortcuts
  • F12
    Go to definition
  • ⌥F12
    Go to definition in split
  • ⇧F12
    Go to implementation
  • F2
    Rename symbol

Code Navigation II

4 shortcuts
  • ⌘.
    Code actions
  • ⌘K⌘I
    Hover
  • F8
    Next diagnostic
  • ⇧F8
    Previous diagnostic

Multi-cursor

5 shortcuts
  • ⌘D
    Add next occurrence
  • ⌘K⌘D
    Skip to next occurrence
  • ⌘⇧L
    Select all occurrences
  • ⌘⌥UP
    Insert cursor above
  • ⌘⌥DOWN
    Insert cursor below

Panels I

4 shortcuts
  • ⌘B
    Toggle left dock
  • ⌘⌥B
    Toggle right dock
  • ⌘J
    Toggle bottom dock
  • ⌘⇧E
    Project panel

Panels II

4 shortcuts
  • ⌘⇧B
    Outline panel
  • ^⇧G
    Git panel
  • ⌘⇧M
    Diagnostics
  • ^`
    Toggle terminal panel

Zed shortcuts for Windows

Essentials

7 shortcuts
  • ^⇧P
    Command palette
  • ^P
    Go to file
  • ^⇧O
    Go to symbol in file
  • ^G
    Go to line
  • ^⇧F
    Find in project
  • ⇧ESC
    Toggle zoom
  • ^K^S
    Open keymap

Agent Panel I

4 shortcuts
  • ^⌥J
    Open the threads sidebar
  • ⇧TAB
    Cycle mode
  • ^⇧R
    Review changes
  • ⌥⇧Y
    Keep all changes

Agent Panel II

4 shortcuts
  • ⌥⇧Z
    Reject all changes
  • ^⌥K
    Toggle thinking mode
  • ^⇧V
    Paste raw text
  • ^;
    Add-context menu

Editing I

6 shortcuts
  • ⌥UP
    Move line up
  • ⌥DOWN
    Move line down
  • ^⇧K
    Delete line
  • ^/
    Toggle line comment
  • ^↵
    Newline below
  • ^⇧↵
    Newline above

Editing II

5 shortcuts
  • ^]
    Indent
  • ^[
    Outdent
  • ^L
    Select line
  • ^SPACE
    Show completions
  • ^KZ
    Toggle soft wrap

Code Navigation I

4 shortcuts
  • F12
    Go to definition
  • ⌥F12
    Go to definition in split
  • ⇧F12
    Go to implementation
  • F2
    Rename symbol

Code Navigation II

4 shortcuts
  • ^.
    Code actions
  • ^K^I
    Hover
  • F8
    Next diagnostic
  • ⇧F8
    Previous diagnostic

Multi-cursor

3 shortcuts
  • ^D
    Add next occurrence
  • ^K^D
    Skip to next occurrence
  • ^⇧L
    Select all occurrences

Panels I

4 shortcuts
  • ^B
    Toggle left dock
  • ^⌥B
    Toggle right dock
  • ^J
    Toggle bottom dock
  • ^⇧E
    Project panel

Panels II

4 shortcuts
  • ^⇧B
    Outline panel
  • ^⇧G
    Git panel
  • ^⇧M
    Diagnostics
  • ^`
    Toggle terminal panel