Zed keyboard shortcuts
Command palette, file finding, docks, editing, folding and navigation in the Zed editor.
64 shortcuts Mac and Windows checked September 14, 2026
Print all 64 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.
63 actions and 63 key variants match.
- Zed Documented
| Action | Keys | Row actions |
|---|---|---|
| Delete the line Editor | Mac CmdShiftK | Source |
| Duplicate the line below Editor | Mac OptionShiftDown arrow | Source |
| Move the line up Editor | Mac OptionUp arrow | Source |
| Move the line down Editor | Mac OptionDown arrow | Source |
| Indent the line Editor | Mac Cmd] | Source |
| Outdent the line Editor | Mac Cmd[ | Source |
| Go to the definition Editor | Mac F12 | Source |
| Find every reference Editor | Mac OptionShiftF12 | Source |
| Rename the symbol Editor | Mac F2 | Source |
| Format the file Editor | Mac CmdShiftI | Source |
| Show code actions Editor | Mac Cmd. | Source |
| Show completions Editor | Mac CtrlSpace | Source |
| Add or remove a breakpoint Editor | Mac F9 | Source |
| Go to a line Editor | Mac CtrlG | Source |
| Find in the file Editor | Mac CmdF | Source |
| Show the file outline Editor | Mac CmdShiftO | Source |
| Start a new line below Editor | Mac CmdEnter | Source |
| Start a new line above Editor | Mac CmdShiftEnter | Source |
| Fold the code block Editor | Mac OptionCmd[ | Source |
| Unfold the code block Editor | Mac OptionCmd] | Source |
| Fold everything Editor | Mac CmdKCmd0 | Source |
| Unfold everything Editor | Mac CmdKCmdJ | Source |
| Show or hide line numbers Editor | Mac Cmd; | Source |
| Join the lines Editor | Mac CtrlJ | Source |
| Comment or uncomment a block Editor | Mac CmdKCmd/ | Source |
| Go to the next tab Pane | Mac OptionCmdRight arrow | Source |
| Go to the previous tab Pane | Mac OptionCmdLeft arrow | Source |
| Go to the next search match Search bar | Mac CmdG | Source |
| Go to the previous search match Search bar | Mac CmdShiftG | Source |
| Show or hide replace Search bar | Mac CmdShiftH | Source |
About Zed and its shortcuts
Zed is a newer editor built for speed and for working with other people in the same file. Its default bindings will look familiar to anyone coming from a modern editor, while the commands that are genuinely its own cover collaboration, the project panel and its assistant panel.
Zed is young and its defaults still move between releases, so a binding checked today can change. It also ships alternative keymaps that imitate other editors, which replace large parts of the default set.
Where the Zed keys came from
Read from 1 documentation page published by the makers of Zed. Report a key that is wrong
To see how one action is done in other apps as well as Zed, browse the shortcuts by task. Shortcuts by task