Vimium: Make it possible to focus a scrollable div without using the mouse

Created on 21 Dec 2011  路  11Comments  路  Source: philc/vimium

Take a look, my expectation is that the scrolling should work on the main frame but it does not affect anything.
Opening links functionality work fine.

Most helpful comment

This branch is an extension of #2048 which (amongst other things) makes scrollable divs selectable. For example, with filtered hints, it looks like this...

snapshot

All 11 comments

I've noticed a similar issue on any page that uses divs instead of frames to have in page scrolling. Perhaps there is a way to go-to next scrollable div( gd?). Perhaps gf could be overloaded to include scrollable divs as well as frames, since functionally they have similarities (at least in this area).

Best I've been able to do is do a / search for a link in the div I wanted. Once that div has focus I can use space / shift+space to scroll that div.

You can now scroll a div using j/k if you click on it. (yes, the blasphemy!) This seems to give us parity with Pentadactyl, in fact. I think gd / overloading gf is definitely a good idea -- I'll implement it when I get the time. (Not taking it yet, though -- if anyone wants to take a stab at it, just leave a comment here!)

Hmm, int3, I'm not seeing this in the latest version I have on Chrome for windows 7 at the page noted here (or some others that I use). I am using Vimium 1.3.0 and I've tried to update and restart.

@darylducharme Oops, I should have been clearer -- I was referring to the code on GitHub. It's not available in the Chrome Web Store yet, but we should make another release soon.

Got it, that makes sense. I figured it was something like that since the commit was linked to this issue.

The next piece to this puzzle is being able to focus that element with a keyboard shortcut.

I've updated the title so this issue is now clearer.

I often need to click no the part of the page that I want to scroll before being able to use the keyboard. Is it still planned to make it possible using the keyboard?

Ah. The "Vimium click", @marlun.

Often, the gF (focus the main frame) command helps.

Unfortunately that almost never works for me because it's never multiple frames. Take for example http://redux.js.org/docs/introduction/ThreePrinciples.html if I load it, move to another section using vimium F I can no longer scroll the main text div.

This branch is an extension of #2048 which (amongst other things) makes scrollable divs selectable. For example, with filtered hints, it looks like this...

snapshot

Was this page helpful?
0 / 5 - 0 ratings