Vim Recall繁體中文

'> · Normal mode

'>

Example

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

Move the cursor to the first nonblank character of the line where selection ends/ended in the current buffer.

Local marks

'.
line 2, column 1
'<
line 1, column 1
'>
line 1, column 3
Before & after
Before
one two
three four
Cursor on line 2, column 3

Local marks

'.
line 2, column 1
'<
line 1, column 1
'>
line 1, column 3
After
one two
three four
Cursor on line 1, column 1

Local marks

'.
line 2, column 1
'<
line 1, column 1
'>
line 1, column 3

Start in Normal mode. A prior Visual selection covers one. The cursor is then moved to the second line; the command returns to a selection boundary.

Details & Vim help

Example replayed in Vim

Move the cursor to the first nonblank character of the line where selection ends/ended in the current buffer.

Move the cursor to the first nonblank character of the line where selection ends/ended in the current buffer. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.