Zed is a high-performance, multiplayer code editor written in Rust for macOS, Linux and Windows. Its keyboard shortcuts drive the command palette, fast file and symbol navigation, multi-cursor editing, and its built-in AI assistant, letting you keep your hands on the keyboard.
Official:Official site
All Zed keyboard shortcuts (Mac)
+ 5 more controls in the table below
+ 5 more controls in the table below
158 shortcuts
Editing 27
| Action | Shortcut |
|---|---|
| Undo | ⌘Z |
| Redo | ⌘⇧Z |
| Toggle Comments | ⌘/ |
| Cut | ⌘X |
| Copy | ⌘C |
| Paste | ⌘V |
| Format | ⌘⇧I |
| Delete Line | ⌘⇧K |
| Move Line Up | ⌥↑ |
| Move Line Down | ⌥↓ |
| Show Completions | ⌃␣ |
| Toggle Code Actions | ⌘. |
| Rename | F2 |
| Duplicate Line Down | ⌥⇧↓ |
| Newline Below | ⌘↵ |
| Accept Edit Prediction | ⌥⇥ |
| Toggle Block Comments | ⌘Kthen⌘/ |
| Duplicate Line Up | ⌥⇧↑ |
| Join Lines | ⌃J |
| Indent | ⌘] |
| Outdent | ⌘[ |
| Newline Above | ⌘⇧↵ |
| Rewrap | ⌘Kthen⌘Q |
| Organize Imports | ⇧⌥O |
| Show Word Completions | ⌃⇧␣ |
| Show Signature Help | ⌘I |
| Hover | ⌘Kthen⌘I |
General 18
| Action | Shortcut |
|---|---|
| Command Palette | ⌘⇧P |
| File Finder | ⌘P |
| Save | ⌘S |
| New File | ⌘N |
| Open File or Folder | ⌘O |
| Open Settings | ⌘, |
| Open Recent Project | ⌘⌥O |
| New Window | ⌘⇧N |
| Save As | ⌘⇧S |
| Save All | ⌘⌥S |
| Quit | ⌘Q |
| Extensions | ⌘⇧X |
| Save Without Format | ⌘KthenS |
| Close Window | ⌘⇧W |
| Open Settings File | ⌘⌥, |
| Open Keymap | ⌘Kthen⌘S |
| Theme Selector | ⌘Kthen⌘T |
| Language Selector | ⌘KthenM |
Navigation 16
| Action | Shortcut |
|---|---|
| Go to Definition | F12 |
| Go to Line | ⌃G |
| Go to Symbol in Buffer | ⌘⇧O |
| Go Back | ⌃− |
| Go to Symbol in Project | ⌘T |
| Go to Implementation | ⇧F12 |
| Find All References | ⇧⌥F12 |
| Go Forward | ⌃⇧− |
| Go to Next Diagnostic | F8 |
| Go to Definition in Split | ⌥F12 |
| Go to Type Definition | ⌘F12 |
| Go to Previous Diagnostic | ⇧F8 |
| Go to Next Hunk | ⌘F8 |
| Go to Previous Hunk | ⌘⇧F8 |
| Move to Enclosing Bracket | ⌃M |
| Reveal in Project Panel | ⌘⇧E |
Panes & Tabs 15
| Action | Shortcut |
|---|---|
| Close Tab | ⌘W |
| Reopen Closed Tab | ⌘⇧T |
| Next Tab | ⌘⌥→ |
| Previous Tab | ⌘⌥← |
| Tab Switcher | ⌃⇥ |
| Split Right | ⌘Kthen→ |
| Close All Tabs | ⌘KthenW |
| Close Other Tabs | ⌘⌥T |
| Pin Tab | ⌘Kthen⇧↵ |
| Split Down | ⌘Kthen↓ |
| Split Left | ⌘Kthen← |
| Split Up | ⌘Kthen↑ |
| Activate Pane Right | ⌘Kthen⌘→ |
| Activate Pane Left | ⌘Kthen⌘← |
| Toggle Zoom | ⇧⎋ |
Git 14
| Action | Shortcut |
|---|---|
| Git Blame | ⌘⌥GthenB |
| Commit | ⌘↵ |
| Open Recent Branch | ⌘⌃B |
| Review Diff | ⌘⌥GthenR |
| Open Modified Files | ⌘⌥GthenM |
| Amend | ⌘⇧↵ |
| Push | ⌃Gthen↑ |
| Pull | ⌃Gthen↓ |
| Fetch | ⌃Gthen⌃G |
| Stage File | ⌘Y |
| Unstage File | ⌘⇧Y |
| Toggle Staged | ␣ |
| Toggle Selected Diff Hunks | ⌘' |
| Git Worktree | ⌘⌃W |
View 14
| Action | Shortcut |
|---|---|
| Increase Buffer Font Size | ⌘= |
| Decrease Buffer Font Size | ⌘− |
| Toggle Full Screen | ⌘⌃F |
| Fold | ⌘⌥[ |
| Unfold Lines | ⌘⌥] |
| Fold All | ⌘Kthen⌘0 |
| Unfold All | ⌘Kthen⌘J |
| Toggle Fold | ⌘Kthen⌘L |
| Toggle Soft Wrap | ⌘KthenZ |
| Toggle Line Numbers | ⌘; |
| Toggle Inlay Hints | ⌃: |
| Reset Buffer Font Size | ⌘0 |
| Open Markdown Preview | ⌘⇧V |
| Open Markdown Preview to the Side | ⌘KthenV |
Selection 11
| Action | Shortcut |
|---|---|
| Select Next Occurrence | ⌘D |
| Select All | ⌘A |
| Select All Matches | ⌘⇧L |
| Select Line | ⌘L |
| Add Selection Above | ⌘⌥↑ |
| Add Selection Below | ⌘⌥↓ |
| Select Larger Syntax Node | ⌘⌃→ |
| Select Smaller Syntax Node | ⌘⌃← |
| Select Enclosing Symbol | ⌘⌥E |
| Undo Selection | ⌘U |
| Redo Selection | ⌘⇧U |
Search 10
| Action | Shortcut |
|---|---|
| Find in Buffer | ⌘F |
| Search Project | ⌘⇧F |
| Select Next Match | ⌘G |
| Select Previous Match | ⌘⇧G |
| Toggle Replace | ⌘⇧H |
| Project Diagnostics | ⌘⇧M |
| Select All Search Matches | ⌥↵ |
| Toggle Case Sensitive | ⌘⌥C |
| Toggle Whole Word | ⌘⌥W |
| Toggle Regex | ⌘⌥X |
Panels 9
| Action | Shortcut |
|---|---|
| Toggle Left Dock | ⌘B |
| Toggle Bottom Dock | ⌘J |
| Project Panel | ⌘⇧E |
| Toggle Right Dock | ⌘⌥B |
| Git Panel | ⌃⇧G |
| Toggle All Docks | ⌘⌥Y |
| Outline Panel | ⌘⇧B |
| Debug Panel | ⌘⇧D |
| Collaboration Panel | ⌘⇧C |
AI Agent 9
| Action | Shortcut |
|---|---|
| Toggle Agent Panel | ⌘⇧/ |
| Inline Assist | ⌃↵ |
| New Thread | ⌘N |
| Keep All Agent Edits | ⇧⌥Y |
| Reject All Agent Edits | ⇧⌥Z |
| Toggle Model Selector | ⌘⌥/ |
| Toggle Profile Selector | ⌘I |
| Search Thread | ⌘F |
| Expand Message Editor | ⇧⌥⎋ |
Debugger 8
| Action | Shortcut |
|---|---|
| Start Debugger | F4 |
| Toggle Breakpoint | F9 |
| Edit Log Breakpoint | ⇧F9 |
| Continue | F5 |
| Step Over | F10 |
| Step Into | F11 |
| Step Out | ⇧F11 |
| Stop Debugger | ⇧F5 |
Terminal 7
| Action | Shortcut |
|---|---|
| Toggle Terminal Panel | ⌃` |
| New Terminal | ⌃~ |
| Spawn Task | ⌘⇧R |
| Rerun Task | ⌘⌥R |
| Clear Terminal | ⌘K |
| Copy in Terminal | ⌘C |
| Paste in Terminal | ⌘V |
Sourced from zed.dev, raw.githubusercontent.com Last verified (re-checked every 6 weeks) Shortcuts last changed
Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or sponsored by Zed. All product names, logos, and trademarks are property of their respective owners. See our licensing & trademark notice.
Get the Zed poster
4 art directions — pick one below, click to zoom & compare.
A printable, framed-quality poster of the essential Zed shortcuts for Mac — the keys worth keeping in view, designed to stay readable on a wall.
Customise this poster Pick the shortcuts, restyle the colours — download free. Get the framed-quality print Full 300 DPI, print-ready — at home or shipped to your door.These shortcuts, on physical keys
There is a Stream Deck profile for Zed — 101 shortcuts laid out across the keys, each one labelled, installed by double-clicking a file. It fits every current Stream Deck model.
Frequently asked questions
- Does the poster include every Zed shortcut?
- Zed has 158 keyboard shortcuts on macOS — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
- Can I print it at home?
- Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
- Does it cover both Mac and Windows?
- We sell a separate edition per platform so every key matches your keyboard exactly. This page is the macOS edition.
- Is this an official Zed product?
- No. This is an unofficial reference poster and is not affiliated with or endorsed by Zed. All trademarks belong to their respective owners.
Thanks — your feedback helps us improve.
Promote your app
Built an app with great keyboard shortcuts? Get it into the database — a free, searchable reference page, and an optional printable poster your power users will pin to the wall.
- Free shortcut reference page
- Indexed & searchable
- Optional framed poster