Vimium: Scrolling doesn't work on Gmail

Created on 3 Jan 2019  ·  4Comments  ·  Source: philc/vimium

Seeing this issue with scrolling and also find.

Most helpful comment

This is because the scrollable areas in Gmail are scrollable divs.

Related issues:

nextFrame or mainFrame don't seem to solve this problem.

A simple workaround is to hit f to invoke link hints. Then 'click' the 'Primary' tab heading:

image

The message list (<div class='AO'></div>) should now be scrollable with Vimium.

If this isn't working, then you need to enable Vimium in Gmail.

Here is my configuration that partially enables Vimium in Gmail. I have disabled all the native Gmail shortcuts via the 'Keys' field.

Pattern: https?://mail.google.com/*
Keys: cdJK/uxsm!#pnrRaAFqgigsgtgdgagc,*a*n*r*u*sN][}{z.IU_-?evl;:o+`~bgl

Notice I have disabled uppercase J and K. In Gmail settings I have specified that J and K should map to 'Older Conversation' and 'Newer conversation' respectively. By default, j and k in Gmail will move the message selection up or down in the message view. By changing these mappings to uppercase J and K in Gmail I can use ⇧J and ⇧K to move the section, and lowercase j and k to do scrolling with Vimium.

I have also changed the Gmail-shortcut for 'Remove label' from y to L so I can use Vimium's y to copy in Gmail.

screencapture-mail-google-mail-u-0-2019-03-15-12_17_37

To edit Gmail keyboard shortcuts you need to enable this via Advanced tab in settings. If you want to get through your inbox even faster I recommend enabling auto-advance from this screen to (automatically loads next email after you have actioned the last one, unless the action was snoozing):

image

EDIT: In single email view, the 'Primary' tab click workaround isn't possible. So you can click here:

image

All 4 comments

Also doesn't work well with Google Docs and Google Sheets. Might be a general issue with Google webapps as they generally implement their own suite of keybindings.

Vimium is disabled by default on GMail. You can enable it by removing the rule either in the popup or on the options page. Is that the issue, or is there something more?

And re. Google Docs and Sheets... Yes, those pages do not play nicely with Vimium. Don't know how to solve it. I just disable Vimium, myself.

This is because the scrollable areas in Gmail are scrollable divs.

Related issues:

nextFrame or mainFrame don't seem to solve this problem.

A simple workaround is to hit f to invoke link hints. Then 'click' the 'Primary' tab heading:

image

The message list (<div class='AO'></div>) should now be scrollable with Vimium.

If this isn't working, then you need to enable Vimium in Gmail.

Here is my configuration that partially enables Vimium in Gmail. I have disabled all the native Gmail shortcuts via the 'Keys' field.

Pattern: https?://mail.google.com/*
Keys: cdJK/uxsm!#pnrRaAFqgigsgtgdgagc,*a*n*r*u*sN][}{z.IU_-?evl;:o+`~bgl

Notice I have disabled uppercase J and K. In Gmail settings I have specified that J and K should map to 'Older Conversation' and 'Newer conversation' respectively. By default, j and k in Gmail will move the message selection up or down in the message view. By changing these mappings to uppercase J and K in Gmail I can use ⇧J and ⇧K to move the section, and lowercase j and k to do scrolling with Vimium.

I have also changed the Gmail-shortcut for 'Remove label' from y to L so I can use Vimium's y to copy in Gmail.

screencapture-mail-google-mail-u-0-2019-03-15-12_17_37

To edit Gmail keyboard shortcuts you need to enable this via Advanced tab in settings. If you want to get through your inbox even faster I recommend enabling auto-advance from this screen to (automatically loads next email after you have actioned the last one, unless the action was snoozing):

image

EDIT: In single email view, the 'Primary' tab click workaround isn't possible. So you can click here:

image

(dusting off this old thread)

Thanks @benwoodward for your helpful and detailed note! I've been using this workaround for years, although really wish there was something that worked better here.

One potential feature request that would make life better: visually differentiate hints that activate the scrollable divs, like what is seen with filtered links. This is discussed here and here, although not much has happened over last couple of years.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

everyonesdesign picture everyonesdesign  ·  3Comments

haroldcarr picture haroldcarr  ·  4Comments

jkbbwr picture jkbbwr  ·  3Comments

Poseiden picture Poseiden  ·  3Comments

bartlibert picture bartlibert  ·  4Comments