Monday, December 22, 2014

Re: Is there a way to display column number in the gutter?

On Monday, December 22, 2014 12:26:33 PM UTC-5, Ben Fritz wrote:
> On Monday, December 22, 2014 10:40:17 AM UTC-6, FlashBurn wrote:
> > Does anybody know if there is a way to display a column number in the gutter? I already display line number there but it would be nice to display a column number as well. I know there is a way to display column number in the status line, but it seems kind of strange to display one portion of the cursor location in the gutter and another in the status line. It would be nice to have it in one place, specifically in the gutter. Something like the following:
> >
> > 234:15
> >
> > This would mean that my cursor is on line 234 column 15.
> >
> > Any help is appreciated.
>
> Two options:
>
> 1. You could look into where line numbers are drawn in the source code, and edit the source code, and recompile Vim. There is no option that can do this for you.
>
> 2. It may be possible to do something like this using the signs column and a CursorMoved autocmd, but I don't know of any plugin that currently does this. This may slow down your use of Vim significantly depending on how it is implemented.

Thanks. I don't think I will be modifying any code and I'm not very good in vim scripting. So I'll wait. Maybe someone will come up with a plugin.

--
--
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/d/optout.

No comments: