Skip to content

↑↓ moveEnter openEsc close

Delete word left: the shortcut in 5 apps

5 apps · Mac, Windows, Linux and Chromebook

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

AppMacWindowsLinuxChromebook
BashCut the word before the cursorCtrlWCtrlWCtrlW—
ChromeOSDelete the previous word———CtrlBackspace
Claude CodeDelete the previous wordCtrlWCtrlWCtrlW—
EmacsDelete (kill) the previous wordOptionBackspaceAltBackspaceAltBackspace—
macOSDelete the word to the left of the insertion pointOptionDelete———

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: Ctrl+W in Bash and Claude Code; Option+Backspace in Emacs; Option+Delete in macOS.
  • Windows: Ctrl+W in Bash and Claude Code; Alt+Backspace in Emacs.
  • Linux: Ctrl+W in Bash and Claude Code; Alt+Backspace in Emacs.
  • Chromebook: Ctrl+Backspace in ChromeOS.

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