← all cheat sheets

Zed cheat sheet

Two 10 × 11 cm cards — macOS shortcuts for either side of a 15″ MacBook trackpad.

Print & cut
  1. Print on A4, landscape. In the print dialog set Scale = 100% (not “Fit to page”) and turn Margins → None/Default — this keeps the cards at exactly 10 × 11 cm.
  2. Cut along the dashed borders.
  3. Slide card 1 under the keyboard on the left of the trackpad, card 2 on the right.

Modifiers: ⌘ Command · ⌥ Option · ⌃ Control · ⇧ Shift. Zed’s default macOS keymap.

Preview below is shown enlarged; it prints at real size (10 × 11 cm each).

Zed 1

⌘ ⌥ ⌃ ⇧

Files & Panels

⌘POpen file (finder) ⇧⌘PCommand palette ⌘BToggle file tree ⌃`Toggle terminal ⌥⌘ORecent projects ⌘\Split right

Go To

⌃GLine / column ⇧⌘OSymbol (outline) ⌘TProject symbol F12Definition ⌥⇧F12All references ⌃-/⌃⇧-Back / fwd

Find

⌘FFind · ⌥⌘F repl. ⇧⌘FFind in project ⇧⌘HReplace in project
matuta.art/cheatsheets◀ left of trackpad

Zed 2

⌘ ⌥ ⌃ ⇧

Cursors

⌘DSelect next match ⇧⌘LSelect all matches ⌥⌘↑/↓Cursor above / below ⌘UUndo selection

Lines

⌥↑/↓Move line ⌥⇧↑/↓Duplicate line ⌘⇧KDelete line ⌘/Toggle comment ⌘[/]Outdent / indent

AI

⌃↩Inline assist ⌘?Toggle agent panel

Code

⇧⌘IFormat document ⌘.Code actions F2Rename symbol F8/⇧F8Next / prev problem ⌥⌘[/]Fold / unfold

Debug

F9Toggle breakpoint · ⇧F9 log F4Start debug F5Continue · F6 pause F7Step over ⌃F11/⇧F11Step in / out ⇧F5Stop · ⇧⌘D panel
matuta.art/cheatsheetsright of trackpad ▶