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.
- Zed Documented
| Action | Keys | Row actions |
|---|---|---|
| Delete the line Editor | Mac CmdShiftK 1 more variant | Source |
| Duplicate the line below Editor | Mac OptionShiftDown arrow 1 more variant | Source |
| Move the line up Editor | Mac OptionUp arrow 1 more variant | Source |
| Move the line down Editor | Mac OptionDown arrow 1 more variant | Source |
| Indent the line Editor | Mac Cmd] 1 more variant | Source |
| Outdent the line Editor | Mac Cmd[ 1 more variant | Source |
| Go to the definition Editor | Mac F12 1 more variant | Source |
| Find every reference Editor | Mac OptionShiftF12 1 more variant | Source |
| Rename the symbol Editor | Mac F2 1 more variant | Source |
| Format the file Editor | Mac CmdShiftI 1 more variant | Source |
| Show code actions Editor | Mac Cmd. 1 more variant | Source |
| Show completions Editor | Mac CtrlSpace 1 more variant | Source |
| Add or remove a breakpoint Editor | Mac F9 1 more variant | Source |
| Go to a line Editor | Mac CtrlG 1 more variant | Source |
| Find in the file Editor | Mac CmdF 1 more variant | Source |
| Show the file outline Editor | Mac CmdShiftO 1 more variant | Source |
| Start a new line below Editor | Mac CmdEnter 1 more variant | Source |
| Start a new line above Editor | Mac CmdShiftEnter 1 more variant | Source |
| Fold the code block Editor | Mac OptionCmd[ 1 more variant | Source |
| Unfold the code block Editor | Mac OptionCmd] 1 more variant | Source |
| Fold everything Editor | Mac CmdKCmd0 1 more variant | Source |
| Unfold everything Editor | Mac CmdKCmdJ 1 more variant | Source |
| Show or hide line numbers Editor | Mac Cmd; 1 more variant | Source |
| Join the lines Editor | Mac CtrlJ 1 more variant | Source |
| Comment or uncomment a block Editor | Mac CmdKCmd/ 1 more variant | Source |
| Go to the next tab Pane | Mac OptionCmdRight arrow 1 more variant | Source |
| Go to the previous tab Pane | Mac OptionCmdLeft arrow 1 more variant | Source |
| Go to the next search match Search bar | Mac CmdG 1 more variant | Source |
| Go to the previous search match Search bar | Mac CmdShiftG 1 more variant | Source |
| Show or hide replace Search bar | Mac CmdShiftH 1 more variant | 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