Vim Recall繁體中文

Show the code point under the cursor

:ascii

Example

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

Show the code point under the cursor.

Vim messages

earlier example message
Last status message
earlier example message
Last warning

Example variables

g:exampleCount
1

Command output

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

Vim messages

earlier example message
Last status message
earlier example message
Last warning

Example variables

g:exampleCount
1

Command output

Empty
After
one two
three four
five six
keep
Cursor on line 1, column 1

Vim messages

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

Example variables

g:exampleCount
1

Command output

<o>  111,  Hex 6f,  Octal 157

Start in Normal mode. Displayed message and variable values are captured from this isolated Vim; output text is never inferred from the catalog description.

Details & Vim help

Example replayed in Vim

Run :ascii or ga to see the numeric value of the character under the cursor in decimal, hexadecimal, and octal. Unicode values are shown with a Unicode encoding.