› Zed

Zed Shortcuts

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

Source: Official documentation · Dataset date 2026-06

20
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
Ctrl+Shift+P · Cmd+Shift+P
Open File Finder
CtrlP
Ctrl+P · Cmd+P
New File
CtrlN
Ctrl+N · Cmd+N
Save
CtrlS
Ctrl+S · Cmd+S
Toggle Left Dock
CtrlB
Ctrl+B · Cmd+B
Toggle Terminal
Ctrl`
Ctrl+`
Open Settings
Ctrl,
Ctrl+, · Cmd+,

Editing

7 shortcuts
Toggle Comment
Ctrl/
Ctrl+/ · Cmd+/
Select Next Occurrence
CtrlD
Ctrl+D · Cmd+D
Add Cursor Below
CtrlAltDown
Ctrl+Alt+Down · Cmd+Opt+↓
Move Line Up
AltUp
Alt+Up · Ctrl+Cmd+↑
Duplicate Line
CtrlShiftD
Ctrl+Shift+D · Cmd+Shift+D
Rename Symbol
F2
F2
Format Document
CtrlShiftI
Ctrl+Shift+I · Cmd+Shift+I

Navigation

6 shortcuts
Go to Definition
F12
F12
Go to Symbol
CtrlShiftO
Ctrl+Shift+O · Cmd+Shift+O
Go to Line
CtrlG
Ctrl+G
Search Project
CtrlShiftF
Ctrl+Shift+F · Cmd+Shift+F
Find in File
CtrlF
Ctrl+F · Cmd+F
Go Back
Ctrl-
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.

Which operating systems are included for Zed?

This reference includes shortcuts for Windows · macOS · Linux. Availability depends on the action and app version.

See also

Explore shortcuts by key

Key lookup

Compare shortcuts

Zed / Sublime Text · Zed / VS Code

No shortcuts match your search.