Is there a way to dispaly the current cursor position? e.g,, "character 23".
use
ga
which will display the hex/decimal/octal values of the character
under the cursor. I remember it as "_g_et _a_scii [value]"
:help ga
There's also "g8" for a UTF-8 character under the cursor.
Additionally, if you want to see it on a regular basis (and not
just when you ask for it), you can tweak your
'ruler'/'rulerformat' settings to include the value "%b" or "%B"
(depending on whether you want decimal or hex)
:set ruler rulerformat=%b/0x%02B
There are all sorts of other goodies you can toss in your
'rulerformat' setting.
:help 'ruler'
:help 'rulerformat'
:help 'statusline'
should give you all sorts of interesting reading. :)
-tim