Skip to the main content
Back to Zed

Zed keyboard shortcuts

63 shortcuts, from Shortivo Keys last checked on September 14, 2026.

Clipboard 1 shortcut

Action Windows Mac
Paste Editor Ctrl + V Cmd + V

Code editing 5 shortcuts

Action Windows Mac
Rename the symbol Editor F2 F2
Show code actions Editor Ctrl + . Cmd + .
Fold everything Editor Ctrl + K then Ctrl + 0 Cmd + K then Cmd + 0
Unfold everything Editor Ctrl + K then Ctrl + J Cmd + K then Cmd + J
Create a folder from the project panel Project panel Alt + N Option + Cmd + N

Comments and review 1 shortcut

Action Windows Mac
Comment or uncomment a block Editor Ctrl + K then Ctrl + / Cmd + K then Cmd + /

Editing 21 shortcuts

Action Windows Mac
Show or hide the terminal Workspace Ctrl + ` Ctrl + `
Show or hide the left dock Workspace Ctrl + B Cmd + B
Show or hide the bottom dock Workspace Ctrl + J Cmd + J
Show the project diagnostics Workspace Ctrl + Shift + M Cmd + Shift + M
Choose a theme Workspace Ctrl + K then Ctrl + T Cmd + K then Cmd + T
Enter full screen Workspace F11 Ctrl + Cmd + F
Undo Editor Ctrl + Z Cmd + Z
Redo Editor Ctrl + Y Cmd + Shift + Z
Copy Editor Ctrl + C Cmd + C
Cut Editor Ctrl + X Cmd + X
Delete the line Editor Ctrl + Shift + K Cmd + Shift + K
Duplicate the line below Editor Shift + Alt + Down arrow Option + Shift + Down arrow
Move the line up Editor Alt + Up arrow Option + Up arrow
Move the line down Editor Alt + Down arrow Option + Down arrow
Outdent the line Editor Ctrl + [ Cmd + [
Format the file Editor Shift + Alt + F Cmd + Shift + I
Show completions Editor Ctrl + Space Ctrl + Space
Add or remove a breakpoint Editor F9 F9
Show the file outline Editor Ctrl + Shift + O Cmd + Shift + O
Show or hide line numbers Editor Ctrl + ; Cmd + ;
Join the lines Editor Ctrl + Shift + J Ctrl + J

Files and printing 11 shortcuts

Action Windows Mac
Open the command palette Workspace Ctrl + Shift + P Cmd + Shift + P
Save the file Workspace Ctrl + S Cmd + S
Save the file under a new name Workspace Ctrl + Shift + S Cmd + Shift + S
Save every open file Workspace Ctrl + K then S Cmd + Option + S
Open a new window Workspace Ctrl + Shift + N Cmd + Shift + N
Reopen the tab you closed Workspace Ctrl + Shift + T Cmd + Shift + T
Open the extensions page Workspace Ctrl + Shift + X Cmd + Shift + X
Open the keymap editor Workspace Ctrl + K then Ctrl + S Cmd + K then Cmd + S
Switch between open tabs Workspace Ctrl + Tab Ctrl + Tab
Open a recent project Workspace Ctrl + R Option + Cmd + O
Open the settings file Anywhere Ctrl + Alt + , Cmd + Option + ,

Navigation 4 shortcuts

Action Windows Mac
Go to the definition Editor F12 F12
Go to a line Editor Ctrl + G Ctrl + G
Go to the next search match Search bar F3 Cmd + G
Go to the previous search match Search bar Shift + F3 Cmd + Shift + G

Paragraphs and lists 3 shortcuts

Action Windows Mac
Indent the line Editor Ctrl + ] Cmd + ]
Start a new line below Editor Ctrl + Enter Cmd + Enter
Start a new line above Editor Ctrl + Shift + Enter Cmd + Shift + Enter

Search 6 shortcuts

Action Windows Mac
Find a file by name Workspace Ctrl + P Cmd + P
Search for a symbol in the project Workspace Ctrl + T Cmd + T
Search across the whole project Workspace Ctrl + Shift + F Cmd + Shift + F
Find every reference Editor Shift + Alt + F12 Option + Shift + F12
Find in the file Editor Ctrl + F Cmd + F
Show or hide replace Search bar Shift + Alt + H Cmd + Shift + H

Selection 3 shortcuts

Action Windows Mac
Select everything Editor Ctrl + A Cmd + A
Select the current line Editor Ctrl + L Cmd + L
Select every match of the selection Editor Ctrl + Shift + L Cmd + Shift + L

System 1 shortcut

Action Windows Mac
Quit Zed Anywhere Ctrl + Q Cmd + Q

Tabs and windows 2 shortcuts

Action Windows Mac
Go to the next tab Pane Ctrl + Page Down Option + Cmd + Right arrow
Go to the previous tab Pane Ctrl + Page Up Option + Cmd + Left arrow

Text formatting 2 shortcuts

Action Windows Mac
Fold the code block Editor Ctrl + Shift + [ Option + Cmd + [
Unfold the code block Editor Ctrl + Shift + ] Option + Cmd + ]

View and zoom 3 shortcuts

Action Windows Mac
Focus the project panel Workspace Ctrl + Shift + E Cmd + Shift + E
Create a file from the project panel Project panel Ctrl + N Cmd + N
Show the file in the file manager Project panel Ctrl + Alt + R Option + Cmd + R

From Shortivo at https://shortivo.net/platforms/zed/. A dot means the maker does not document a key for that system. Nothing on this sheet was converted from one system to another.