Delete the previous word
Ctrl-w
Example
Insert 0 / 1Insert 1 / 1red blueInsertion point on line 1, column 9red Insertion point on line 1, column 5Delete the word before the insertion point.
Deleted blue, leaving the preceding space.
Before & after
red blueInsertion point on line 1, column 9red Insertion point on line 1, column 5Start in Insert mode. Insertion point starts after blue; both words were just typed. Press Ctrl-w.
Details & Vim help
Example replayed in Vim
Delete the word before the insertion point.
In Insert mode, Ctrl-w removes the preceding word. backspace controls whether deletion can cross an insertion start, indentation, or line boundary.