Vim Recall繁體中文

Shift the motion's text lines one 'shiftwidth' leftwards

<{motion}

Example

Normal 0 / 2
One TWO
  three four
keep
Cursor on line 1, column 1

Shift the motion's text lines one 'shiftwidth' leftwards.

Before & after
Before
One TWO
  three four
keep
Cursor on line 1, column 1
After
One TWO
three four
keep
Cursor on line 1, column 1

Start in Normal mode. The key buttons show a concrete motion in place of {motion}. Indentation uses shiftwidth=2.

Details & Vim help

Example replayed in Vim

Shift the motion's text lines one 'shiftwidth' leftwards. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.