Shortcut

Visual Studio Code Zen Mode Shortcut

The Visual Studio Code shortcut to zen mode is Ctrl + K then Z on Windows. On Mac, press Cmd + K then Z.

Quick Answer

Windows
Ctrl+K then Z
Mac
Cmd+K then Z
Web
Not confirmed yet
Visual Studio CodeShortcut

Zen Mode

Windows
Ctrl+K then Z

Enters distraction-free full-screen editing.

Tip: Press Ctrl + K, release, then press Z. Press Esc twice to leave.

Learn More

How to zen mode in Visual Studio Code

  1. Open Visual Studio Code and go to where you want to zen mode.
  2. Press Ctrl + K then Z on Windows or Cmd + K then Z on Mac.

Tip: Press Ctrl + K, release, then press Z. Press Esc twice to leave.

Visual Studio Code Zen Mode Shortcut for Windows

Press Ctrl + K then Z.

Visual Studio Code Zen Mode Shortcut for Mac

Press Cmd + K then Z.

Visual Studio Code Zen Mode Shortcut for Visual Studio Code Web

We haven't confirmed a Visual Studio Code Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Visual Studio Code zen mode shortcut?

On Windows, press Ctrl + K then Z. On a Mac, press Cmd + K then Z.

Is there a Mac shortcut to zen mode in Visual Studio Code?

Yes: Cmd + K then Z.

Does it work in Visual Studio Code for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify