Delete entered text on this line
Ctrl-u
Example
Insert 0 / 1Insert 1 / 1red blueInsertion point on line 1, column 9Insertion point on line 1, column 1Erase newly entered characters before the insertion point.
Cleared the text typed on this line.
Before & after
red blueInsertion point on line 1, column 9Insertion point on line 1, column 1Start in Insert mode. Insertion point starts after blue; the entire line was just typed in this insertion. Press Ctrl-u. The empty result is represented by an empty line.
Details & Vim help
Example replayed in Vim
Erase newly entered characters before the insertion point.
Ctrl-u removes entered characters before the cursor on the current line. If there are no newly entered characters and backspace permits it, it can also remove existing text before the cursor.