Hi Bram!
On Sa, 23 Jan 2016, Bram Moolenaar wrote:
>
> Christian Brabandt wrote:
>
> >
> > I think, there is an inconsistency with regard to the :tabnext and
> > :tabprev commands:
> >
> >
> > :tabn[ext] {count}
> > {count}<C-PageDown>
> > {count}gt Go to tab page {count}. The first tab page has number one.
> >
> > :tabp[revious] {count}
> > :tabN[ext] {count}
> > {count}<C-PageUp>
> > {count}gT Go {count} tab pages back. Wraps around from the first one
> > to the last one.
> >
> > Note, the first does go to the specified number, while the second goes
> > that many numbers back.
> >
> > Could we adjust this, so that perhaps :tabn +{count} always goes {count}
> > number forwards and :tab {count} moves to the specified tabnumber
> > and :tabprevious +{count} moves that many number backwards, while
> > :tabprevious {count} goes to the specified number? (and perhapse
> > -{count} goes into the opposite direction?)
> >
> > This is slightly backwards compatible, so perhaps there are other
> > opinions?
>
> I think we need to keep the current behavior. Changing it might break a
> plugin and upset those who are used to the current behavior.
> I do think that "2gt" should have meant "go two tab pages forward", but
> now that it already means "go to the second tab page", and people are
> likely using that, we can't change it.
>
> So we need a command to go two tabpages forward. For the Ex command we
> could use ":tabforward 2".
>
> But it's more useful to have a neighbor to "gt". There is no obvious
> one...
gl?
Best,
Christian
--
Stilblüten aus Polizeiberichten und Gerichtsverhandlungen:
Die alarmierte Feuerwehr hat an Ort und Stelle festgestellt, daß es
bei dem Feuer, daß bei einer Temperatur von 18 Grad C° verlief, zur
vollkommenen Verbrennung des Schobers kam.
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.