Wednesday, May 29, 2013

Re: use of vim signs

On Wed, May 29, 2013 at 07:48:04AM -0700, Ben Fritz wrote:
> On Tuesday, May 28, 2013 3:57:25 PM UTC-5, Christian Brabandt wrote:
> > On Di, 28 Mai 2013, glts wrote:
> > >
> > > Thus,
> > > - ":set nonu nornu" means: I don't want any line numbers;
> > > - ":set nu nornu" means: I want to see only absolute numbers;
> > > - ":set nonu rnu" means: I want to see only relative numbers;
> > > - ":set nu rnu" means: I want to have the best of both worlds.
> >
> > Please don't.
> >

> I don't know, I think this looks like a decent idea.

> It doesn't add ANOTHER configuration option, and while the play between the two might be somewhat complex, it can't be much worse than it currently is.

ok, looking at the code it's a simple change in two places in screen.c
(lines 2339 and 3509) to get the current line number back to zero when
in relativity mode

and I THINK the simplest way to proceed would be to add one
independent option, relativenumbershowzero, abbreviated rnu0, which
would affect only relative numbers and not need to be toggled when
toggling number modes (but could be toggled by people who just love
tweaking things)

the reason for the long option name is to force it to be right next
relativenumber in the help module

my personal opinion would be to have the default for rnu0 to be on, but
we should vote on that, with Bram as the decider since most people won't
care or vote

(when I first expressed enthusiasm for relative numbers they showed the
zero, not some misaligned line number that's repeated in the ruler -- it
looks suspiciously like something that was snuck in my someone just
showing off (looky what I can do!))

--
_|_ _ __|_|_ ._ o|
|_(_)(_)|_| ||_)||<
|

--
--
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: