Vim Recall繁體中文

Unindent the current line

<<

Example

Normal 0 / 2
  one
  two
  three
keep
Cursor on line 1, column 3

Shift the line one indentation step to the left.

Before & after
Before
  one
  two
  three
keep
Cursor on line 1, column 3
After
one
  two
  three
keep
Cursor on line 1, column 1

Start in Normal mode. expandtab is on and shiftwidth=2, so one indentation step is two spaces.

Details & Vim help

Example replayed in Vim

Shift the line one indentation step to the left.

The step follows shiftwidth and related settings. Indentation stops at column one rather than deleting nonblank text.