Sunday, January 26, 2014

Re: Display current column in statusline

On 2014–01–25 Reid Thompson wrote:

> On 1/25/2014 8:45 PM, Marco wrote:
> >This statusline uses %c which operates on bytes instead of
> >characters. In my example it displays "5" if the cursor is placed on
> >the digit "5", which is correct. But if you move the cursor down one
> >line (the column stays the same, it's still five) it displays column
> >"9" which is not what I want. The displayed column should be "5" if
> >positioned on the "µ".
> >
> >Marco
> >
> for me it display both byte and char
> when I put the cursor on this char v
> "äå µåäö"
> ^

In your quote the tab is missing which was present in my OP. It is
unclear if your output corresponds to the version with tabs or
space. Without tab I get the same result.

Marco

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment