Zed Keyboard Shortcuts

Zed keyboard shortcut reference covering 24 bindings for Windows, Mac & Linux. Commonly searched bindings include Command Palette and Go to File. 24 of 24 shortcuts are verified against official Zed documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official Zed documentation

AI

ActionDescriptionWindowsMacVerifiedSource
Agent Panel Open AI agent panel Ctrl+Shift+A Cmd+Shift+A Windows, Linux Source

Editing

ActionDescriptionWindowsMacVerifiedSource
Undo Undo last edit Ctrl+Z Cmd+Z Windows, Linux Source
Duplicate Line Duplicate current line or selection Ctrl+Shift+D Cmd+Shift+D Windows, Linux Source
Comment Line Toggle line comment Ctrl+/ Cmd+/ Windows, Linux Source

File

ActionDescriptionWindowsMacVerifiedSource
Save Save current file Ctrl+S Cmd+S Windows, Linux Source
Open Folder Open project folder Ctrl+O Cmd+O Windows, Linux Source
New File Create a new untitled file Ctrl+N Cmd+N Windows, Linux Source

Formatting

ActionDescriptionWindowsMacVerifiedSource
Format Document Format the active buffer Ctrl+Shift+I Cmd+Shift+I Windows, Linux Source

General

ActionDescriptionWindowsMacVerifiedSource
Command Palette Open command palette Ctrl+Shift+P Cmd+Shift+P Windows, Linux Source
Keymap Editor Open keyboard shortcut editor Ctrl+K then Ctrl+S Ctrl+K then Ctrl+S Windows, Linux Source
Settings Open Zed settings Ctrl+, Cmd+, Windows, Linux Source

Navigation

ActionDescriptionWindowsMacVerifiedSource
Go to File Quick open file by name Ctrl+P Cmd+P Windows, Linux Source
Go to Definition Jump to symbol definition F12 F12 Windows, macOS, Linux Source
Go to Line Jump to line number in file Ctrl+G Cmd+G Windows, Linux Source
Project Panel Toggle project file tree Ctrl+Shift+E Cmd+Shift+E Windows, Linux Source
Outline Panel Toggle symbol outline Ctrl+Shift+O Cmd+Shift+O Windows, Linux Source

Search

ActionDescriptionWindowsMacVerifiedSource
Find in Project Search across project Ctrl+Shift+F Cmd+Shift+F Windows, Linux Source
Find in Buffer Find in current file Ctrl+F Cmd+F Windows, Linux Source
Replace in Buffer Find and replace in current file Ctrl+H Cmd+H Windows, Linux Source

Selection

ActionDescriptionWindowsMacVerifiedSource
Add Selection Next Add next occurrence to selection Ctrl+D Cmd+D Windows, Linux Source
Select All Occurrences Select all occurrences of word Ctrl+Shift+L Cmd+Shift+L Windows, Linux Source

Terminal

ActionDescriptionWindowsMacVerifiedSource
Toggle Terminal Show/hide integrated terminal Ctrl+` Cmd+` Windows, Linux Source

Window

ActionDescriptionWindowsMacVerifiedSource
Split Editor Split editor horizontally Ctrl+\ Cmd+\ Windows, Linux Source
Close Tab Close active editor tab Ctrl+W Cmd+W Windows, Linux Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…