Hi Redoute :)

 * Redoute <[EMAIL PROTECTED]> dixit:
> DervishD wrote:
> >     Any way of working around this problem?
> 
> %{char2nr(getline('.')[col('.')-1])}
> 
> works for me.

    Thanks! I've modified it a bit, because I wanted the number as hexa
and always with the same width, using "printf":

set statusline=%y%m%r\ %t%=[%L]\ %05l,%03c\ 
%{printf('x%02x',char2nr(getline('.')[col('.')-1]))}
    

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

Reply via email to