Re: Any way of getting statusline=%B in insert mode?

2007-01-04 Thread DervishD
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

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: Hi Tony :) :-) Olá Raúl It's Hola, but thanks for the nice gesture :) So really it is a bug and not a feature. Again, thanks :) IMHO, I said. Bram has the final say, not me. Of course, but

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread A.J.Mechelynck
DervishD wrote: [...] Of course, but given that even in the GUI version the problem happens (I thought that the bar was in between characters, and not at the 25% leftmost position), I'm inclined to think it is a bug and not a feature. Specially because it is a bit annoying, when moving

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: Of course, but given that even in the GUI version the problem happens (I thought that the bar was in between characters, and not at the 25% leftmost position), I'm inclined to think it is a bug and not a feature.

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread Redoute
DervishD wrote: Any way of working around this problem? %{char2nr(getline('.')[col('.')-1])} works for me.

Any way of getting statusline=%B in insert mode?

2007-01-02 Thread DervishD
Hi all, and happy new year! I have %B in my status line, but it doesn't work in insert mode, only on normal and visual mode. At first I thought that the status line wasn't being evaluated while in insert mode, but the line and column numbers change correctly, so it *is* being evaluated,

Re: Any way of getting statusline=%B in insert mode?

2007-01-02 Thread A.J.Mechelynck
DervishD wrote: Hi all, and happy new year! I have %B in my status line, but it doesn't work in insert mode, only on normal and visual mode. At first I thought that the status line wasn't being evaluated while in insert mode, but the line and column numbers change correctly, so it *is*

Re: Any way of getting statusline=%B in insert mode?

2007-01-02 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: I have %B in my status line, but it doesn't work in insert mode, only on normal and visual mode. At first I thought that the status line wasn't being evaluated while in insert mode, but the line and column numbers

Re: Any way of getting statusline=%B in insert mode?

2007-01-02 Thread Bill McCarthy
On Tue 2-Jan-07 12:57pm -0600, A.J.Mechelynck wrote: DervishD wrote: Hi all, and happy new year! I have %B in my status line, but it doesn't work in insert mode, only on normal and visual mode. At first I thought that the status line wasn't being evaluated while in insert mode, but