Vim Recall繁體中文

Show the code point under the cursor

ga

Example

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

Show the code point 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

<o>  111,  Hex 6f,  Octal 157
Last status message
<o> 111, Hex 6f, Octal 157
Last warning

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Use ga to see the numeric value of the character under the cursor in decimal, hexadecimal, and octal. It behaves like :ascii.