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 Yes Source

Editing

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

File

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

Formatting

ActionDescriptionWindowsMacVerifiedSource
Format Document Format the active buffer Ctrl+Shift+I Cmd+Shift+I Yes Source

General

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

Navigation

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

Search

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

Selection

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

Terminal

ActionDescriptionWindowsMacVerifiedSource
Toggle Terminal Show/hide integrated terminal Ctrl+` Cmd+` Yes Source

Window

ActionDescriptionWindowsMacVerifiedSource
Split Editor Split editor horizontally Ctrl+\ Cmd+\ Yes Source
Close Tab Close active editor tab Ctrl+W Cmd+W Yes Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…