Skip to the main content

Zed

Fold the code block

OptionCmd[

Mac Desktop app Zed default keymap

Practice this

Press Ctrl + Shift + Left bracket to fold the code block in Zed. On a Mac, press Option + Cmd + Left bracket instead.

Where it works: Editor

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app OptionCmd[
Windows Desktop app CtrlShift[

Where this comes from

Zed default keymaps - zed-industries/zed

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction