Delete word left: the shortcut in 5 apps
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.
| App | Mac | Windows | Linux | Chromebook |
|---|---|---|---|---|
| BashCut the word before the cursor | CtrlW | CtrlW | CtrlW | — |
| ChromeOSDelete the previous word | — | — | — | CtrlBackspace |
| Claude CodeDelete the previous word | CtrlW | CtrlW | CtrlW | — |
| EmacsDelete (kill) the previous word | OptionBackspace | AltBackspace | AltBackspace | — |
| macOSDelete the word to the left of the insertion point | OptionDelete | — | — | — |
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.