Skip to content

↑↓ moveEnter openEsc close

Show code actions in Zed

Zed 0.210 · 40 shortcuts · checked Nov 2026 · Source: Zed Industries docs

In Zed, press Cmd+. (Mac), Ctrl+. (Windows, Linux).

What else uses Cmd+.? · What else uses Ctrl+.?

More Zed shortcuts: editing

ActionMacWindowsLinux
UndoCmdZCtrlZCtrlZ
RedoShiftCmdZCtrlShiftZCtrlShiftZ
Comment or uncomment linesCmd/Ctrl/Ctrl/
Duplicate the lineShiftCmdDCtrlShiftDCtrlShiftD
Delete the lineShiftCmdKCtrlShiftKCtrlShiftK
Move the line upOption↑Alt↑Alt↑
Move the line downOption↓Alt↓Alt↓
Select the next occurrenceCmdDCtrlDCtrlD
Select every occurrenceShiftCmdLCtrlShiftLCtrlShiftL
Format the fileShiftCmdICtrlShiftICtrlShiftI

All 14 in editing · All 40 Zed shortcuts