In my 'set statusline' in .gvimrc, I have a very helpful 0x%04B code that 
displays the hex code point value (minimum four hex digits, zero padded) of the 
buffer character under the cursor.

In addition to that, I'd like to be able to display an arbitrary hand-defined 
character or string of characters that might represent the pronunciation (e.g. 
in the International Phonetic Alphabet) or a keymap input sequence.

In particular, I have defined a Japanese-hiragana keymap that allows me to type 
hi, which is intercepted by the keymap, which places the Japanese hiragana 
character 0x3072 in the (g)vim buffer.  The line in the keymap looks like this:

hi   <Char-0x3072>

That works just fine.
But in addition, I'd essentially like the status line to display the reverse, 
such that when the cursor is on a 0x3072 character, I'd also like the 
statusline to display (for my own benefit) the letters hi.   I don't expect vim 
to know that 0x3072 should cause "hi" to be displayed in the 
statusline---rather I would define that somewhere, in a kind of reverse-keymap 
file.

The same mechanism could be used to display IPA symbols, or whatever, when the 
cursor is on a Greek, Russian, Georgian, or whatever character.

Any help would be much appreciated.
Ken

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to