Shortcut

Emacs Close the other windows Shortcut

The Emacs shortcut to close the other windows is Ctrl + X, 1 on Windows. It's the same on Mac.

Quick Answer

Windows
Ctrl+X, 1
Mac
Ctrl+X, 1
Web
Not confirmed yet
EmacsShortcut

Close the other windows

Windows
Ctrl+X, 1

Keep only the selected window, closing the rest of the frame (delete-other-windows).

Learn More

How to close the other windows in Emacs

  1. Open Emacs and go to where you want to close the other windows.
  2. Press Ctrl + X, 1 on Windows or Ctrl + X, 1 on Mac.

Emacs Close the other windows Shortcut for Windows

Press Ctrl + X, 1.

Emacs Close the other windows Shortcut for Mac

Press Ctrl + X, 1.

Emacs Close the other windows Shortcut for Emacs Web

We haven't confirmed a Emacs Web shortcut for this yet.

Version note: verify against the GNU Emacs Manual before publishing

Related Keyboard Shortcuts

Frequently asked questions

What is the Emacs close the other windows shortcut?

On Windows, press Ctrl + X, 1. On a Mac, press Ctrl + X, 1.

Is there a Mac shortcut to close the other windows in Emacs?

Yes: Ctrl + X, 1.

Does it work in Emacs for the web?

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

Official source · How we verify