Shortcut

Emacs Save to a different file name Shortcut

The Emacs shortcut to save to a different file name is Ctrl + X, Ctrl + W on Windows. It's the same on Mac.

Quick Answer

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

Save to a different file name

Windows
Ctrl+X, Ctrl+W

Save the current buffer under a new file name you type (write-file).

Learn More

How to save to a different file name in Emacs

  1. Open Emacs and go to where you want to save to a different file name.
  2. Press Ctrl + X, Ctrl + W on Windows or Ctrl + X, Ctrl + W on Mac.

Emacs Save to a different file name Shortcut for Windows

Press Ctrl + X, Ctrl + W.

Emacs Save to a different file name Shortcut for Mac

Press Ctrl + X, Ctrl + W.

Emacs Save to a different file name 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 save to a different file name shortcut?

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

Is there a Mac shortcut to save to a different file name in Emacs?

Yes: Ctrl + X, Ctrl + W.

Does it work in Emacs for the web?

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

Official source · How we verify