[Vimperator] new feature idea
Ryan Zheng
gnehzr at gmail.com
Mon Nov 19 03:43:07 PST 2007
This sounds similar to a function I wrote that emulates the C-a, C-x
behavior in vim to increment/decrement a number. However, I only made
it to increment the last number in the url. In the future, setlocal
could overcome this limitation.
Ryan
ps: my javascript is terrible
On Nov 13, 2007 6:22 AM, Martin Stubenschrott <stubenschrott at gmx.net> wrote:
> On Tue, Nov 13, 2007 at 03:46:46PM +0200, Viktor Kojouharov wrote:
> > A FF extensions does this by looking at sequential links. For instance,
> > by having this link: http://example.com/foo?u=1, or,
> > example.com/foo01.jpg it can deduce that there are entries like that,
> > and fill the history accordingly. Personally, I thinkt that messing up
> > the history like that sucks, but the approach can definetely be used to
> > find the logical next step. So if the user hits ]n and is on
> > http://example.com/foo?u=1, vimperator should take him to
> > http://example.com/foo?u=2.
>
> i think ]n and [p should only work on text links, and ]+ and [- maybe on
> numbers in the urlbar, and ]] and [[ should be a combination of all
> them, and just Make It Work (tm).
>
> PS: I am not yet sure about [ and ] usage, if it makes sense to
> seperate them, or always use ] to go to a relative link. Also gu should
> probably changed to ]u then.
>
> --
> Martin
>
> PS: Nice you still read the mailing lists, viktor, any chance you
> find time to implement something for vimp in future, or really busy now?
> _______________________________________________
> Vimperator mailing list
> Vimperator at mozdev.mozdev.org
> https://www.mozdev.org/mailman/listinfo/vimperator
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: incrementurl.patch
Type: application/octet-stream
Size: 2920 bytes
Desc: not available
Url : http://www.mozdev.org/pipermail/vimperator/attachments/20071119/ea5ac8c9/attachment-0001.obj
More information about the Vimperator
mailing list