⌨️ Zed Keyboard Shortcuts
⚙️ General & System
| Shortcut | Action |
|---|---|
Ctrl + , |
Open settings |
Ctrl + Shift + P |
Command Palette (Show all commands) |
Ctrl + Shift + X |
Open Extensions store |
Ctrl + Shift + I |
Open Zed logs / diagnostics |
Ctrl + Q |
Quit Zed |
📁 File & Window Management
| Shortcut | Action |
|---|---|
Ctrl + N |
New file |
Ctrl + Shift + N |
New Window |
Ctrl + O |
Open file / folder |
Ctrl + Alt + Shift + O |
Open remote folder (SSH/Collab) |
Ctrl + S |
Save current file |
Ctrl + Shift + S |
Save As… |
Ctrl + Alt + S |
Save All open files |
Ctrl + W |
Close current tab / editor |
Ctrl + Shift + W |
Close Window |
Ctrl + PageUp |
Switch to previous tab |
Ctrl + PageDown |
Switch to next tab |
📝 Editing & Text Manipulation
| Shortcut | Action |
|---|---|
Ctrl + Z |
Undo |
Ctrl + Shift + Z |
Redo |
Ctrl + X |
Cut line / selection |
Ctrl + C |
Copy line / selection |
Ctrl + V |
Paste |
Ctrl + Shift + V |
Paste from clipboard history |
Ctrl + / |
Toggle line comment |
Ctrl + Shift + / |
Toggle block comment |
Ctrl + Shift + D |
Duplicate selection / current line |
Alt + Up |
Move line up |
Alt + Down |
Move line down |
Tab |
Indent line |
Shift + Tab |
Outdent line |
🔍 Search & Replace
| Shortcut | Action |
|---|---|
Ctrl + F |
Find in current file |
Ctrl + H |
Replace in current file |
Ctrl + Shift + F |
Find in project (Global search) |
Ctrl + Shift + H |
Replace in project |
F3 |
Find next match |
Shift + F3 |
Find previous match |
✂️ Selection & Multiple Cursors
| Shortcut | Action |
|---|---|
Ctrl + A |
Select all text |
Alt + Shift + Right |
Expand selection (Smart select) |
Alt + Shift + Left |
Shrink selection |
Alt + Shift + Up |
Add cursor above |
Alt + Shift + Down |
Add cursor below |
Ctrl + Shift + Down |
Select next occurrence of current word |
Ctrl + Shift + L |
Split selection into lines |
Esc |
Clear multiple cursors / Escape selection |
👁️ Interface Panels & Layouts
| Shortcut | Action |
|---|---|
Ctrl + B |
Toggle Left Dock (Project Panel) |
Ctrl + Alt + B |
Toggle Right Dock (Assistant/Chat) |
Ctrl + J |
Toggle Bottom Dock (Terminal/Diagnostics) |
Ctrl + Alt + Y |
Close All active docks |
Ctrl + Shift + E |
Focus / Open Project Panel |
Ctrl + Shift + B |
Focus / Open Outline Panel |
Ctrl + Shift + C |
Focus / Open Collaboration Panel |
| `Ctrl + `` | Focus / Open Integrated Terminal |
Ctrl + Shift + M |
Focus / Open Diagnostics Panel |
🥞 Editor Splits (Panels)
| Shortcut | Action |
|---|---|
Ctrl + K then Up |
Split editor Up |
Ctrl + K then Down |
Split editor Down |
Ctrl + K then Left |
Split editor Left |
Ctrl + K then Right |
Split editor Right |
Ctrl + K Ctrl + W |
Close active split pane |
🚀 Navigation & Code Intelligence (Go To)
| Shortcut | Action |
|---|---|
Ctrl + Alt + - |
Go back in navigation history |
Ctrl + Alt + Shift + - |
Go forward in navigation history |
Ctrl + E |
Go to File (Quick open) |
Ctrl + Shift + O |
Go to Symbol in current editor |
Ctrl + G |
Go to Line / Column number |
F12 |
Go to Definition |
Ctrl + F12 |
Go to Type Definition |
Alt + Shift + F12 |
Find All References |
Ctrl + . |
Trigger Code Actions / Quick Fix |
Ctrl + Space |
Trigger Code Autocomplete |
F8 |
Go to next Problem / Error |
Shift + F8 |
Go to previous Problem / Error |








