Vim Recall繁體中文

Display hex value of bytes used in UTF-8 character under the cursor

g8

Example

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

Display hex value of bytes used in UTF-8 character under the cursor.

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

6f
Last status message
6f
Last warning

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Display hex value of bytes used in UTF-8 character under the cursor. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.