Vim Recall繁體中文

Show information about current cursor position

g Ctrl-g

Example

Normal 0 / 1
one two
three four
five six
keep
Cursor on line 1, column 1

Show information about current cursor position.

Vim messages

Empty
Last status message
Last warning
Before & after
Before
one two
three four
five six
keep
Cursor on line 1, column 1

Vim messages

Empty
Last status message
Last warning
After
one two
three four
five six
keep
Cursor on line 1, column 1

Vim messages

Col 1 of 7; Line 1 of 4; Word 1 of 7; Byte 1 of 33
Last status message
Col 1 of 7; Line 1 of 4; Word 1 of 7; Byte 1 of 33
Last warning

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Show information about current cursor position. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.