Essential Zed Shortcuts (June 2026)

Zed is a fast, Rust-based editor with built-in collaboration and AI. Its default keymap mirrors VS Code for core navigation—Ctrl/Cmd+P opens the file finder, Ctrl/Cmd+Shift+P opens the command palette, and Ctrl/Cmd+Shift+F searches the project. Zed adds dedicated shortcuts for the AI Agent panel, edit predictions, and multi-pane layouts. Customize any binding via Ctrl/Cmd+K Ctrl/Cmd+S or your keymap.json file.

Essential Navigation

Command palette
CtrlShiftP
Go to file (file finder)
CtrlP
Go to symbol in file
CtrlShiftO
Go to symbol in project
CtrlT
Find in project
CtrlShiftF
Find and replace in project
CtrlShiftH
Open settings
Ctrl,
Open settings JSON
CtrlAlt,
Open keymap editor
CtrlKCtrlS
Open folder / project
CtrlO
New file
CtrlN
Save file
CtrlS
Save all
CtrlAltS
Reopen closed tab
CtrlShiftT

Editing

Undo / Redo
CtrlZ/CtrlShiftZ
Cut / Copy / Paste
CtrlX/C/V
Select all
CtrlA
Select line
CtrlL
Find in file
CtrlF
Replace in file
CtrlAltF
Format document
CtrlShiftI
Organize imports
AltShiftO
Go to definition
CtrlF12
Rename symbol
F2
Toggle comment
Ctrl/
Toggle block comment
CtrlKCtrl/
Duplicate selection
CtrlD
Delete line
CtrlShiftK
Move line up / down
Alt/
Expand / shrink syntactic selection
Alt/

Panels & Layout

Toggle left dock (sidebar)
CtrlB
Toggle bottom dock (terminal)
CtrlJ
Toggle right dock
CtrlR
Toggle terminal panel
Ctrl`
Focus project panel
CtrlShiftE
Focus outline panel
CtrlShiftB
Focus git panel
CtrlShiftG
Focus debug panel
CtrlShiftD
Split editor right
Ctrl\
Split pane (up / down / left / right)
CtrlK///
Switch pane (left / right / up / down)
CtrlKCtrletc.
Switch to pane 1–9
Ctrl19
Tab switcher
CtrlTab
Close tab
CtrlW
Close all tabs in pane
CtrlKW
Open extensions
CtrlShiftX
Theme selector
CtrlKCtrlT

AI Agent & Edit Predictions

Open Agent panel
CtrlShiftA
Toggle Agent focus
Ctrl?
New Agent thread
CtrlN(in Agent panel)
Send message / inline assist
CtrlEnter
Send immediately (skip queue)
CtrlShiftEnter
Add selection to Agent thread
Ctrl>
Cycle Agent mode
ShiftTab
Toggle model selector
CtrlAlt/
Accept Agent edit
CtrlY
Reject Agent edit
CtrlAltZ
Accept all / Reject all
ShiftAltY/Z
Toggle edit predictions
CtrlCmdE
Next / previous edit prediction
AltTab/ShiftTab

Terminal

Toggle terminal panel
Ctrl`
Clear terminal
CtrlK(in terminal)
Copy / Paste in terminal
CtrlC/V
Scroll page up / down
ShiftPgUp/PgDn

Git

Stage and next hunk
CtrlY
Unstage and next hunk
CtrlShiftY
Toggle staged
CtrlAltY
Restore file
CtrlAltZ
Git blame
CtrlAltGB
Review diff
CtrlAltGR

Essential Navigation

Command palette
P
Go to file (file finder)
P
Go to symbol in file
O
Go to symbol in project
T
Find in project
F
Find and replace in project
H
Open settings
,
Open settings JSON
,
Open keymap editor
KS
Open folder / project
O
New file
N
Save file
S
Save all
S
Reopen closed tab
T

Editing

Undo / Redo
Z/Z
Cut / Copy / Paste
X/C/V
Select all
A
Select line
L
Find in file
F
Replace in file
F
Format document
I
Organize imports
O
Go to definition
CtrlF12
Rename symbol
F2
Toggle comment
/
Toggle block comment
K/
Duplicate selection
D
Delete line
K
Move line up / down
/
Expand / shrink syntactic selection
/

Panels & Layout

Toggle left dock (sidebar)
B
Toggle bottom dock (terminal)
J
Toggle right dock
R
Toggle terminal panel
Ctrl`
Focus project panel
E
Focus outline panel
B
Focus git panel
CtrlG
Focus debug panel
D
Split editor right
\
Split pane (up / down / left / right)
K///
Switch pane (left / right / up / down)
Ketc.
Switch to pane 1–9
19
Tab switcher
CtrlTab
Close tab
W
Close all tabs in pane
KW
Open extensions
X
Theme selector
KT

AI Agent & Edit Predictions

Open Agent panel
A
Toggle Agent focus
?
New Agent thread
N(in Agent panel)
Send message / inline assist
Return
Send immediately (skip queue)
Return
Add selection to Agent thread
>
Cycle Agent mode
Tab
Toggle model selector
/
Accept Agent edit
Y
Reject Agent edit
Z
Accept all / Reject all
Y/Z
Toggle edit predictions
CtrlE
Next / previous edit prediction
Tab/Tab

Terminal

Toggle terminal panel
Ctrl`
Clear terminal
K(in terminal)
Copy / Paste in terminal
C/V
Scroll page up / down
PgUp/PgDn

Git

Stage and next hunk
Y
Unstage and next hunk
Y
Toggle staged
Y
Restore file
Z
Git blame
GB
Review diff
GR

Also see: VS CodeCursorWindsurfSublime TextIntelliJ

Zed Editor Shortcuts — Frequently Asked Questions

Are Zed keyboard shortcuts the same as VS Code?

Zed defaults to a VS Code–compatible base keymap, so core shortcuts match: Ctrl/⌘+P for the file finder, Ctrl/⌘+Shift+P for the command palette, Ctrl/⌘+Shift+F for project-wide search. Zed adds its own bindings for the AI Agent panel, collaboration features, and pane management. You can switch base keymaps (Atom, JetBrains, Emacs, etc.) in Settings or customize any binding in keymap.json.

How do I see all keyboard shortcuts in Zed?

Press Ctrl+K Ctrl+S on Windows/Linux or ⌘K ⌘S on macOS to open the keymap editor. You can also run zed: open keymap from the command palette (Ctrl/⌘+Shift+P). This shows every action and its current binding, and lets you add or change keys inline.

How do I open the Zed AI Agent panel?

Press Ctrl+Shift+A on Windows/Linux or ⌘⇧A on macOS. Alternatively use ⌘? (macOS) to toggle focus to the Agent. Add selected code to an Agent thread with Ctrl/⌘+>.

Does Zed support Vim keybindings?

Yes. Enable vim_mode in Zed settings (Ctrl/⌘+,) to add modal Vim bindings on top of the base keymap. Zed also supports helix_mode. The Zed keybindings docs cover both modes in detail.