Vim Recall繁體中文

Move to a screen column in the current line

|

Example

Normal 0 / 1
one two
Cursor on line 1, column 6

Move to a screen column in the current line.

Before & after
Before
one two
Cursor on line 1, column 6
After
one two
Cursor on line 1, column 1

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Move to a screen column in the current line. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. The leading count is a 1-based screen-column number and defaults to 1. The motion is exclusive when used with an operator.