Skip to content

↑↓ moveEnter openEsc close

Delete word right: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

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

AppMacWindowsLinux
BashCut the word after the cursorOptionDAltDAltD
EmacsDelete (kill) the next wordOptionDAltDAltD
VimDelete to the start of the next word · Normal modeD,WD,WD,W

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: Option+D in Bash and Emacs; D W in Vim.
  • Windows: Alt+D in Bash and Emacs; D W in Vim.
  • Linux: Alt+D in Bash and Emacs; D W in Vim.

Where and when it works

  • Vim (Normal mode).

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