[Vimperator] Patch: :tabmove command

Doug Kearns dougkearns at gmail.com
Mon May 14 05:08:34 PDT 2007


On 5/14/07, Martin Stubenschrott <stubenschrott at gmx.net> wrote:
> Ah, one thing, is it possible to use relative movements?
>
> In a perfect world:
>
> :tabmove -1 would move the current tab 1 to the left
> :tabmove +1 would move the current tab 1 to the right
> :tabmove 12 would move the current tab to the 12th position
>
> and
> :tabmove! +1 would wrap around the tab
>
> Is this possible for you?

Of course, it's software. ;-)  I'll take a look at it after I've had a
crack at the help.

I just thought initially that it might be an idea to, at least, get as
many of the existing Vim commands implemented as possible (working the
way they do in VIm) and look at extending them later.  I actually
implemented tab_only and tab_move so that one could specify an
arbitrary tab arg, rather than just the current tab, but thought that
may be premature and best left until these are exposed in a client
API?  That said, Vim's tab handling doesn't really seem that complete
at the moment...

Regards,
Doug


More information about the Vimperator mailing list