Shortcut

Emacs Transpose two words Shortcut

The Emacs shortcut to transpose two words is Alt + T on Windows. It's the same on Mac.

Quick Answer

Windows
Alt+T
Mac
Alt+T
Web
Not confirmed yet
EmacsShortcut

Transpose two words

Windows
Alt+T

Swap the word before the cursor with the one after it (transpose-words).

Learn More

How to transpose two words in Emacs

  1. Open Emacs and go to where you want to transpose two words.
  2. Press Alt + T on Windows or Alt + T on Mac.

Emacs Transpose two words Shortcut for Windows

Press Alt + T.

Emacs Transpose two words Shortcut for Mac

Press Alt + T.

Emacs Transpose two words 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 transpose two words shortcut?

On Windows, press Alt + T. On a Mac, press Alt + T.

Is there a Mac shortcut to transpose two words in Emacs?

Yes: Alt + T.

Does it work in Emacs for the web?

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

Official source · How we verify