On Fri, Aug 10, 2007 at 01:38:53PM +0200, Jonas Fonseca wrote:
> Ligesh <[email protected]> wrote Fri, Aug 10, 2007:
> >
> > Hi,
> >
> > I had requested a specific 2 dimensional keyboard motion some time back. It was like this: the up/down arrows will move straight up and down, and will stop on a line that contains a link anywhere on that line. The up/down arrows will not move right/left at all. They will just stop on a line which contains the link anywhere, even if the exact location of the cursor does not have a link.
>
> This should be something like the move-cursor-* actions, right?
>
> Try putting this in your elinks.conf and test:
>
> bind "main" "up" = "move-cursor-up"
> bind "main" "down" = "move-cursor-down"
That won't work at all. It has to skip all the lines that do not contain a link. Otherwise, it is a horrendous chore to move through all the unnecessary lines that do not contain a link. Please note, I have read through elinks extensively. I used use emacs-w3m, which I was able rewrite to get the feature I wanted.
I need that exact feature please. I have gone through every available option, and even checked the code, so I don't think you will be able to help me out in any other way other than implement it in code.
>
> > The right-left would of course move along the links on a single line. The right-left would also wrap-around, so that after the farthest right link, the right button will wrap to the left most link on the left line. But up/down moves only straight.
>
> bind "main" "right" = "move-link-right"
> bind "main" "left" = "move-link-left"
>
> Almost does what, I think, you want. Unfortunately, it jumps to
> a random link sometimes. I've never used this feature and the
> code is a bit "hairy".
I am using the above now. The only problem is that move-link-right doesn't wrap around to the next line.
> I had written
>>>> the right button will wrap to the left most link on the left line.
There was a small typo in my ealier post. What I meant was "wrap to the left most link on the NEXT line ".
Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.