Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling doesn't work on Gmail #3216

Open
devanshuDesai opened this issue Jan 3, 2019 · 4 comments
Open

Scrolling doesn't work on Gmail #3216

devanshuDesai opened this issue Jan 3, 2019 · 4 comments

Comments

@devanshuDesai
Copy link

Seeing this issue with scrolling and also find.

@aengelberg
Copy link

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.

@smblott-github
Copy link
Collaborator

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.

@benwoodward
Copy link

benwoodward commented Mar 15, 2019

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

@alon-to
Copy link

alon-to commented Dec 7, 2020

(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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants