Skip to content

↑↓ moveEnter openEsc close

Zed keyboard shortcuts cheat sheet

Every default Zed shortcut on one printable page. Choose your system, then print or save as PDF.

Zed keyboard shortcuts

Windows · version 0.210 · 40 shortcuts

Hotkeypediahotkeypedia.com

General

  • Open the command paletteShiftCmdPCtrlShiftPCtrlShiftP
  • Find a file in the projectCmdPCtrlPCtrlP
  • Search the whole projectShiftCmdFCtrlShiftFCtrlShiftF
  • Open settingsCmd,Ctrl,Ctrl,
  • Open the keymap editorCmdK,CmdSCtrlK,CtrlSCtrlK,CtrlS
  • Focus the project panelShiftCmdECtrlShiftECtrlShiftE
  • Show or hide the left dockCmdBCtrlBCtrlB
  • Show or hide the bottom dockCmdJCtrlJCtrlJ
  • Show or hide the terminalCtrl`Ctrl`Ctrl`
  • Bigger textCmd=Ctrl=Ctrl=
  • Smaller textCmd-Ctrl-Ctrl-

AI

  • Open or close the agent panelShiftCmd/CtrlShift/CtrlShift/
  • Inline assist (edit with AI)CtrlEnterCtrlEnterCtrlEnter
  • Accept the edit predictionTabTabTab

Editing

  • 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
  • Show completionsCtrlSpaceCtrlSpaceCtrlSpace
  • Show code actionsCmd.Ctrl.Ctrl.
  • Find in the fileCmdFCtrlFCtrlF
  • Find and replaceOptionCmdFCtrlHCtrlH

Navigation

  • Go to the definitionF12F12F12
  • Rename the symbolF2F2F2
  • Go to a lineCtrlGCtrlGCtrlG
  • Go to a symbol in the fileShiftCmdOCtrlShiftOCtrlShiftO
  • Go to a symbol in the projectCmdTCtrlTCtrlT
  • Next problemF8F8F8
  • Previous problemShiftF8ShiftF8ShiftF8
  • Open the diagnostics panelShiftCmdMCtrlShiftMCtrlShiftM
  • Close the tabCmdWCtrlWCtrlW
  • Reopen the closed tabShiftCmdTCtrlShiftTCtrlShiftT
  • Next tabShiftCmd]CtrlShift]CtrlShift]
  • Previous tabShiftCmd[CtrlShift[CtrlShift[
Default bindings for Zed, version 0.210, checked against Zed Industries' documentation.hotkeypedia.com/zed/cheat-sheet/

Every default Zed shortcut in version 0.210, in the same groups as the full list. Pick a system, then print. The sheet is sized to fill a portrait A4 or Letter page (two pages for the longest apps); choose "Save as PDF" in the print dialog for a file. Rows showing a dash have no default binding on that system.