Delete a Whole Word or Line at Once on Mac
Holding down Delete and watching characters vanish one by one is the slowest way to fix a sentence. macOS has word-sized and line-sized deletes built into almost every text field — two modifier keys are all you need to learn.
The two shortcuts that matter
Option+Delete— delete the entire word to the left of the cursor, plus the space before it. Tap it three times and three words are gone. This is the single highest-value editing shortcut on the Mac.Cmd+Delete— delete everything from the cursor back to the start of the line. Mistyped a whole sentence? One keystroke.
Try it right now in any text field: type a few words, then tap Option+Delete twice. The speed difference over held-down backspacing is immediately obvious — a ten-character word disappears in the time plain Delete takes to remove two letters, and there's no overshoot to re-type.
Both follow the same logic as cursor movement: Option means “by word” and Cmd means “by line”, whether you're moving (Option+Left, Cmd+Left), selecting (add Shift), or deleting.
Forward variants
Everything above deletes leftward. To erase to the right of the cursor:
Fn+Delete— forward-delete one character (the missing Del key on MacBooks).Fn+Option+Delete— forward-delete the whole next word.Ctrl+K— delete from the cursor to the end of the paragraph. Whatever it removes goes into a separate “kill” buffer, andCtrl+Ypastes it back — without touching your normal clipboard.
That last pair is a genuinely useful trick for moving text without losing what's already on your clipboard: Ctrl+K to cut the rest of a line, click where it belongs, Ctrl+Y to drop it in — your copied URL or password stays safely on Cmd+V the whole time.
Where they work — and the two gotchas
These shortcuts are part of the macOS text system, so they work in nearly every app: Notes, Mail, Safari, Messages, Pages, third-party apps with standard text fields. Two exceptions to know:
- Finder:
Cmd+Deleteisn't a text shortcut there — it moves the selected file to the Trash. (Inside a rename field, though, the text meaning applies again.) - Terminal: the shell has its own line editor. Use
Ctrl+Wto delete the previous word andCtrl+Uto wipe the whole line — both work in the default zsh and in bash.Option+Deletecan be made to work too: in Terminal → Settings → Profiles → Keyboard, tick Use Option as Meta key.
Apps with custom text engines (Microsoft Word, some IDEs) generally support Option+Delete but may treat Cmd+Delete differently — worth a two-second test in the app you live in.
The pattern behind them
Once you see the modifier logic, you stop memorizing shortcuts and start deriving them:
- No modifier — act on one character:
Left,Shift+Left,Delete. - Option — act on one word:
Option+Left,Option+Shift+Left,Option+Delete. - Cmd — act on the whole line:
Cmd+Left,Cmd+Shift+Left,Cmd+Delete. - Fn — flip the direction of a delete.
And everything is undoable: Cmd+Z restores any deletion, word-sized or line-sized, so there's no risk in practising on real text.
Make them muscle memory
Pick just Option+Delete for the first week and force yourself to use it every time you mistype a word — it covers the majority of real corrections. Add Cmd+Delete once that's automatic. The forward variants are situational; learn them when you notice yourself arrowing right before deleting.
While you're speeding up your editing, Mainspring turns 90+ hidden macOS settings into labelled, reversible toggles — keyboard tweaks included.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
Select before you delete
Sometimes the faster fix is selecting precisely and typing over it. The same Option/Cmd logic drives selection too — see every text-selection shortcut on Mac.