Display hex value of bytes used in UTF-8 character under the cursor
g8
Example
Normal 0 / 1Normal 1 / 1one two
three four
five six
keepCursor on line 1, column 1one two
three four
five six
keepCursor on line 1, column 1Display hex value of bytes used in UTF-8 character under the cursor.
Vim messages
Empty
- Last status message
- Last warning
Display hex value of bytes used in UTF-8 character under the cursor
Vim messages
6f
- Last status message
6f- Last warning
Before & after
one two
three four
five six
keepCursor on line 1, column 1Vim messages
Empty
- Last status message
- Last warning
one two
three four
five six
keepCursor on line 1, column 1Vim 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.