Vim Recall繁體中文

Remove all indent in the current line

0 Ctrl-d

Example

Insert 0 / 1
    one
Insertion point on line 1, column 5

Remove all indent in the current line.

Before & after
Before
    one
Insertion point on line 1, column 5
After
one
Insertion point on line 1, column 1

Start 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.