Show the code point under the cursor
ga
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 1Show the code point under the cursor.
Vim messages
Empty
- Last status message
- Last warning
Displayed the code point of o: 111 decimal, 6f hex, 157 octal.
Vim messages
<o> 111, Hex 6f, Octal 157
- Last status message
<o> 111, Hex 6f, Octal 157- 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
<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.