Skip to the main content

Zed

Comment or uncomment a block

CtrlKCtrl/

Windows Desktop app Zed default keymap

Practice this

In Zed, Ctrl + K, then Ctrl + / will comment or uncomment a block. On a Mac, press Cmd + K, then Cmd + / instead.

Where it works: Editor

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app CmdKCmd/
Windows Desktop app CtrlKCtrl/

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