Remove all indent in the current line
0 Ctrl-d
Example
Insert 0 / 1Insert 1 / 1 oneInsertion point on line 1, column 5oneInsertion point on line 1, column 1Remove all indent in the current line.
Removed all indentation from this line.
Before & after
oneInsertion point on line 1, column 5oneInsertion point on line 1, column 1Start in Insert mode. Type zero then Ctrl-d at the indentation boundary to remove all indentation.
Details & Vim help
Example replayed in Vim
Remove all indent in the current line. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.