Zed

Zed Shortcuts

Zed keyboard shortcuts for fast code editing, navigation, multi-cursor, panels and the command palette.

Source: Official documentation · Updated 2026-06

Shortcuts
3
Categories

Cheat sheet guide

Zed shortcuts worth learning first

This page collects 20 searchable Zed keyboard shortcuts across 3 categories. Start with the shortcuts for General, Editing, Navigation, then print the cheat sheet once the important ones are worth keeping nearby.

  • Command PaletteCtrlShiftP
  • Toggle CommentCtrl/
  • Go to DefinitionF12
  • Open File FinderCtrlP
  • New FileCtrlN
  • SaveCtrlS

General

7 shortcuts
Command Palette
CtrlShiftP
Open File Finder
CtrlP
New File
CtrlN
Save
CtrlS
Toggle Left Dock
CtrlB
Toggle Terminal
Ctrl`
Open Settings
Ctrl,

Editing

7 shortcuts
Toggle Comment
Ctrl/
Select Next Occurrence
CtrlD
Add Cursor Below
CtrlAltDown
Move Line Up
AltUp
Duplicate Line
CtrlShiftD
Rename Symbol
F2
Format Document
CtrlShiftI

Navigation

6 shortcuts
Go to Definition
F12
Go to Symbol
CtrlShiftO
Go to Line
CtrlG
Search Project
CtrlShiftF
Find in File
CtrlF
Go Back
Ctrl-

Frequently asked questions

What is the fastest way to find Zed shortcuts on this page?

Use the search box or press /, then type an action such as command palette.

Can I print this Zed shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for Zed?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Command Palette is Ctrl+Shift+P on Windows and ⌘⇧P on macOS where available.

See also

No shortcuts match your search.