[Vimperator] Patch: :tabmove command
Viktor Kojouharov
vkojouharov at gmail.com
Mon May 14 09:02:12 PDT 2007
I'd like to join the discussion, since it was something I also meant to do.
My ideas on the help are as follows. First and most important, the
g_Foo variables for settings, commands and mappings have to be broken
down, and a Help object will be created from most of those.
the Help object will look something like this
Help = {
[
[tag1, tag2, ...],
usage,
short_text,
help_text,
maybe type here (whether it's a command, mapping, etc)
]
}
and the g_Foo command will change into objects as well, and be added
to the Vimperator class. All the help stuff will be stripped from
them, so only the tags (which will be the same for the help and these
objects) and functions will be left.
p.s. Sorry if part of this message was sent twice. I'm not used to
using the gmail interface (and vimperator)
On 5/14/07, Doug Kearns <dougkearns at gmail.com> wrote:
> On 5/14/07, Martin Stubenschrott <stubenschrott at gmx.net> wrote:
> > On Mon, May 14, 2007 at 10:08:34PM +1000, Doug Kearns wrote:
> > > I actually
> > > implemented tab_only and tab_move so that one could specify an
> > > arbitrary tab arg, rather than just the current tab
> >
> > I wanted to give you that idea just right now :)
> >
> > And the road to 0.5 i mostly an API road, so it's better to have an API:
> >
> > vimperator.tabmove(whichtab, where)
> > and issue a warning if whichtab is not -1 (the current one), than
> > chaning the API later again, when we have this feature.
>
> OK, I'll do that along with your relative arg suggestions some time this week.
>
> > What do you want to do with the help?
>
> Just the things I mentioned to you on IRC last week.
>
> - Improve the {subject} matching
> - add :viusage and :exusage commands
> - perhaps break it into 'pages' - still created on the fly as you requested
> - maybe implement a tag-like system or, at least, make sure _all_
> references to mappings/commands/settings are links
> - i18n...well one day.
>
> > Viktor just yesterday applied a patch so that :help command works again,
> > and not only :help :command
>
> That's part of it but I'd like to match Vim's algorithm as closely as
> possible so things like partial matches and case insensitivity should
> also be added.
>
> > Of course there are still many improvements in the help area. :)
>
> Mate, it's already excellent. I couldn't believe how comprehensive it
> was the first time I fired up Vimperator. Great work!
>
> Regards,
> Doug
> _______________________________________________
> Vimperator mailing list
> Vimperator at mozdev.org
> http://www.mozdev.org/mailman/listinfo/vimperator
>
More information about the Vimperator
mailing list