Skip to content

↑↓ moveEnter openEsc close

Transpose characters: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

On Mac it is usually Ctrl+T (3 of 3 apps); on Windows it is usually Ctrl+T (2 of 2 apps); on Linux it is usually Ctrl+T (2 of 2 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
BashSwap the last two charactersCtrlTCtrlTCtrlT
EmacsSwap two charactersCtrlTCtrlTCtrlT
macOSSwap the character behind the insertion point with the character in front of itCtrlT——

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: every app here uses CtrlT.
  • Windows: Bash and Emacs all use CtrlT.
  • Linux: Bash and Emacs all use CtrlT.

Learn it by pressing it: Bash shortcuts practice, Emacs shortcuts practice or macOS shortcuts practice.