Re: Bug in vim7? cursor postion & col() vs. utf8-character for showbreak
- Thomas wrote:
> I set showbreak to ¦ (some extended character). This works fine forIf you aren't working in a Unicode locale, you might try to switch the
> latin1 etc. but causes troubles when the encoding is utf8. Cursor
> position, col() & virtcol() values etc. are miscalculated for
> (soft)wrapped lines.
order of your ":set showbreak" and ":set encoding" statements.