Zed logo

Zed

High-performance multiplayer code editor built in Rust with AI assistance, real-time collaboration, and extensibility

557 shortcuts

Visit website
Platform

General

ActionShortcut
Command palette++P
Open settingsor
Open settings file+or
Open keymap+K++S
Open extensions++X
Theme selector+K++T
Language selector+K+M
New window++N
Close window++W
Toggle full screen++F
Toggle zoom+Esc
Increase font size++
Decrease font size+-
Reset font size+0
Quit+Q
Hide+H
Minimize+M
Command palette++P
Open settingsor
Open settings file+or
Open keymap+K++S
Open extensions++X
Theme selector+K++T
Language selector+K+M
New window++N
Close window++W
Toggle full screenF11
Toggle zoom+Esc
Increase font size++
Decrease font size+-
Reset font size+0
Quit+Q

File

ActionShortcut
New file+N
Open file+O
Open recent++O
Open remote folder++O
File finder+P
Save+S
Save as++S
Save all++S
Save without format+K+S
Reveal in Finder+K+R
Copy path+K+P
Copy relative path+++C
New file+N
Open file+O
Open recent++O
Open remote folder+++O
File finder+P
Save+S
Save as++S
Save all++S
Save without format+K+S
Reveal in Explorer+K+R
Copy path+K+P
Copy relative path+++C

Edit

ActionShortcut
Undo+Z
Redo++Z
Cut+X
Copy+C
Paste+V
Delete line++K
Delete to beginning of line+
Delete to end of line+
Delete to previous word+
Delete to next word+
Join lines+J
Transpose+T
Toggle line comment+/
Indent+]
Outdent+[
Move line up+
Move line down+
Duplicate line up++
Duplicate line down++
Newline below+
Newline above++
Undo+Z
Redo++Z
Cut+X
Copy+C
Paste+V
Delete line++K
Delete to beginning of line+Backspace
Delete to end of line+Delete
Delete to previous word+Backspace
Delete to next word+Delete
Join lines+J
Transpose+T
Toggle line comment+/
Indent+]
Outdent+[
Move line up+
Move line down+
Duplicate line up++
Duplicate line down++
Newline below+Enter
Newline above++Enter

Selection

ActionShortcut
Select all+A
Select line+L
Expand selection++
Shrink selection++
Select enclosing symbol++E
Select larger syntax node++
Select smaller syntax node++
Select to beginning of line++
Select to end of line++
Select to file beginning++
Select to file end++
Select to previous word++
Select to next word++
Undo selection+U
Redo selection++U
Select all+A
Select line+L
Expand selection++
Shrink selection++
Select enclosing symbol++E
Select larger syntax node++
Select smaller syntax node++
Select to beginning of line+Home
Select to end of line+End
Select to file beginning++Home
Select to file end++End
Select to previous word++
Select to next word++
Undo selection+U
Redo selection++U

Multi-Cursor

ActionShortcut
Add cursor above++
Add cursor below++
Select next occurrence+D
Select previous occurrence++D
Select all occurrences++L
Move to next occurrence+K++D
Move to previous occurrence+K+++D
Add cursor above++
Add cursor below++
Select next occurrence+D
Select previous occurrence++D
Select all occurrences++L
Move to next occurrence+K++D
Move to previous occurrence+K+++D

Navigation

ActionShortcut
Go to line+G
Go to symbol+T
Outline++O
Go to definitionF12
Go to definition (split)+F12
Go to declaration+F12
Go to declaration (split)++F12
Go to type definition+F12
Go to type definition (split)++F12
Go to implementation+F12
Find all references++F12
Go to diagnosticF8
Go to previous diagnostic+F8
Go to hunk+F8
Go to previous hunk++F8
Go back+-
Go forward+_
Move to enclosing bracket+M
Scroll cursor to center+L
Go to line+G
Go to symbol+T
Outline++O
Go to definitionF12
Go to definition (split)+F12
Go to declaration+F12
Go to declaration (split)++F12
Go to type definition+F12
Go to type definition (split)++F12
Go to implementation++F12
Find all references++F12
Go to diagnosticF8
Go to previous diagnostic+F8
Go to hunk+F8
Go to previous hunk++F8
Go back+
Go forward+
Move to enclosing bracket+M
Scroll cursor to center+L

Code Actions

ActionShortcut
Rename symbolF2
Toggle code actions+.
Format buffer++I
Organize imports++O
Show signature help+I
Show completions+Space
Hover+K++I
Rewrap+K++Q
Toggle soft wrap+K+Z
Toggle inlay hints+:
Toggle line numbers+;
Rename symbolF2
Toggle code actions+.
Format buffer++I
Organize imports++O
Show signature help+I
Show completions+Space
Hover+K++I
Rewrap+K++Q
Toggle soft wrap+K+Z
Toggle inlay hints+:
Toggle line numbers+;

Folding

ActionShortcut
Fold++[
Unfold++]
Toggle fold+K++L
Fold recursive+K++[
Unfold recursive+K++]
Fold all+K++0
Unfold all+K++J
Fold at level 1+K++1
Fold at level 2+K++2
Fold at level 3+K++3
Fold++[
Unfold++]
Toggle fold+K++L
Fold recursive+K++[
Unfold recursive+K++]
Fold all+K++0
Unfold all+K++J
Fold at level 1+K++1
Fold at level 2+K++2
Fold at level 3+K++3
ActionShortcut
Find+F
Find and replace++F
Find in project++F
Replace in project++H
Find next+G
Find previous++G
Toggle search selection++L
Select all matches+
Toggle case sensitive++C
Toggle whole word++W
Toggle regex++X
Use selection for find+E
Find+F
Find and replace+H
Find in project++F
Replace in project++H
Find nextF3
Find previous+F3
Toggle search selection++L
Select all matches+Enter
Toggle case sensitive+C
Toggle whole word+W
Toggle regex+R
Use selection for find+E

View / Panels

ActionShortcut
Toggle left dock+B
Toggle right dock++B
Toggle bottom dock+J
Close all docks++Y
Project panel++E
Outline panel++B
Git panel++G
Debug panel++D
Collab panel++C
Diagnostics++M
Toggle left dock+B
Toggle right dock++B
Toggle bottom dock+J
Close all docks++Y
Project panel++E
Outline panel++B
Git panel++G
Debug panel++D
Collab panel++C
Diagnostics++M

Panes / Splits

ActionShortcut
Split up+K+
Split down+K+
Split left+K+
Split right+K+
Focus pane up+K++
Focus pane down+K++
Focus pane left+K++
Focus pane right+K++
Swap pane up+K++
Swap pane down+K++
Swap pane left+K++
Swap pane right+K++
Activate pane 1+1
Activate pane 2+2
Activate pane 3+3
Split up+K+
Split down+K+
Split left+K+
Split right+K+
Focus pane up+K++
Focus pane down+K++
Focus pane left+K++
Focus pane right+K++
Swap pane up+K++
Swap pane down+K++
Swap pane left+K++
Swap pane right+K++
Activate pane 1+1
Activate pane 2+2
Activate pane 3+3

Tabs

ActionShortcut
Tab switcher+Tab
Tab switcher (reverse)++Tab
Close tab+W
Close other tabs++T
Close tabs to left+K+E
Close tabs to right+K+T
Close all tabs+K+W
Reopen closed tab++T
Previous tab++
Next tab++
Pin tab+K++
Activate tab 1+1
Activate tab 2+2
Activate tab 3+3
Tab switcher+Tab
Tab switcher (reverse)++Tab
Close tab+W
Close other tabs++T
Close tabs to left+K+E
Close tabs to right+K+T
Close all tabs+K+W
Reopen closed tab++T
Previous tab++
Next tab++
Pin tab+K++Enter
Activate tab 1+1
Activate tab 2+2
Activate tab 3+3

Terminal

ActionShortcut
Toggle terminal+`
New terminal+~
Terminal copy+C
Terminal paste+V
Terminal clear+K
Terminal select all+A
Terminal find+F
Terminal split right+D
Terminal split up++
Terminal split down++
Terminal split left++
Scroll page up+Pageup
Scroll page down+Pagedown
Toggle vi mode++Space
Toggle terminal+`
New terminal++`
Terminal copy+C
Terminal paste+V
Terminal clear+K
Terminal select all+A
Terminal find+F
Terminal split right+D
Terminal split up++
Terminal split down++
Terminal split left++
Scroll page up+Pageup
Scroll page down+Pagedown
Toggle vi mode++Space

Git

ActionShortcut
Git blame++G+B
Open modified files++G+M
Open recent branch++B
Toggle staged++Y
Stage file+Y
Unstage file++Y
Stage all++Y
Unstage all+++Y
Restore++Z
Git diff+G+D
Git fetch+G++G
Git push+G+
Git pull+G+
Git pull rebase+G++
Force push+G++
Commit+
Amend++
Toggle diff hunks+'
Expand all diff hunks+"
Git blame++G+B
Open modified files++G+M
Open recent branch++B
Toggle staged++Y
Stage file+Y
Unstage file++Y
Stage all+++Y
Unstage all+++U
Restore++Z
Git diff+G+D
Git fetch+G++G
Git push+G+
Git pull+G+
Git pull rebase+G++
Force push+G++
Commit+Enter
Amend++Enter
Toggle diff hunks+'
Expand all diff hunks+"

Agent Panel

ActionShortcut
Toggle agent panel+?
New thread+N
New text thread++N
Open history++H
Open rules library++L
Manage profiles++P
Toggle profile selector+I
Toggle model selector++/
Cycle favorite models+Tab
Add selection to thread+>
Toggle navigation menu++J
Toggle options menu++M
Expand message editor++Esc
Toggle burn mode++B
Continue thread++
Continue with burn mode+
Allow once+Y
Allow always++Y
Reject once++Z
Toggle agent panel+?
New thread+N
New text thread++N
Open history++H
Open rules library++L
Manage profiles++P
Toggle profile selector+I
Toggle model selector++/
Cycle favorite models+Tab
Add selection to thread+>
Toggle navigation menu++J
Toggle options menu++M
Expand message editor++Esc
Toggle burn mode++B
Continue thread++Enter
Continue with burn mode+Enter
Allow once+Y
Allow always++Y
Reject once++Z

Agent Thread

ActionShortcut
Chat with follow+
Queue message++
Send next queued+++
Clear message queue++
Paste raw++V
Open agent diff++R
Keep all++Y
Reject all++N
Cycle mode selector+Tab
Chat with follow+Enter
Queue message++Enter
Send next queued+++Enter
Clear message queue++Backspace
Paste raw++V
Open agent diff++R
Keep all++Y
Reject all++N
Cycle mode selector+Tab

Inline Assist

ActionShortcut
Inline assist+
Cycle previous assist+[
Cycle next assist+]
Thumbs up++
Thumbs down++
Inline assist+Enter
Cycle previous assist+[
Cycle next assist+]
Thumbs up++Enter
Thumbs down++Backspace

Edit Predictions

ActionShortcut
Toggle edit prediction++E
Show edit prediction+Tab
Accept edit predictionTab
Accept next word++
Accept next line++
Next edit prediction+Tab
Previous edit prediction++Tab
Rate predictions++F
Toggle edit prediction++E
Show edit prediction+Tab
Accept edit predictionTab
Accept next word++
Accept next line++
Next edit prediction+Tab
Previous edit prediction++Tab
Rate predictions++F

Assistant

ActionShortcut
Assist+
Copy code+K+C
Cycle message role+R
Open rules library+K+L
Newline in assistant+
Split+
Assist+Enter
Copy code+K+C
Cycle message role+R
Open rules library+K+L
Newline in assistant+Enter
Split+Enter

Debugger

ActionShortcut
Start debuggingF4
Stop debugging+F5
Rerun session++F5
ContinueF5
PauseF6
Step overF7
Step intoF11
Step out+F11
Toggle breakpointF9
Edit log breakpoint+F9
Toggle thread picker+T
Toggle session picker+I
Start debuggingF4
Stop debugging+F5
Rerun session++F5
ContinueF5
PauseF6
Step overF7
Step intoF11
Step out+F11
Toggle breakpointF9
Edit log breakpoint+F9
Toggle thread picker+T
Toggle session picker+I

Project Panel

ActionShortcut
New directory++N
Rename
Delete
Trash++
Copy path++C
Copy relative path+++C
Reveal in Finder++R
Open with system++
Duplicate+D
Compare marked files+D
Search in directory+++F
Collapse entry
Collapse all+
Expand entry
Open entrySpace
New directory++N
RenameEnter
DeleteDelete
Trash+Delete
Copy path++C
Reveal in Explorer++R
Open with system++Enter
Duplicate+D
Compare marked files+D
Search in directory+++F
Collapse entry
Collapse all+
Expand entry
Open entrySpace

Tasks

ActionShortcut
Spawn task++R
Rerun task++R
Spawn task (center)+++R
Spawn task++R
Rerun task++R
Spawn task (center)+++R

Collaboration

ActionShortcut
Follow next collaborator+++F
UnfollowEsc
Follow next collaborator+++F
UnfollowEsc

Markdown

ActionShortcut
Open markdown preview++V
Open markdown preview to side+K+V
Copy as markdown+C
Open markdown preview++V
Open markdown preview to side+K+V
Copy as markdown+C

Jupyter

ActionShortcut
Run cell++
Run in place++
Run cell++Enter
Run in place++Enter