Vimium: Vimium does not work on Gmail

Created on 3 Apr 2010  ·  22Comments  ·  Source: philc/vimium

I'm not sure if this issue has been posted already, but I couldn't find anything on it so here it is. I don't have Gmail shortcuts enabled so I'm not sure what's the problem... maybe the iframes?

Most helpful comment

Just came across this thread, and I can assure everyone that Vimium works fine on Gmail. After having disabled the native keyboard shortcuts in Settings to ensure there's no conflicts, you just need to remove the excluded URLs in Vimium that pertain to Gmail. After saving that and refreshing the page, it worked like a charm.

All 22 comments

As a work-around, I'll point out that the 'basic HTML' version (there's a link in the Gmail footer) should work quite well.

Very likely all the crazy iframes.

Gmail, Google Reader, and probably other Google Apps already use the same primary VIM movement keys. Vimium should know to automatically disable itself on these sites.

I have a suggestion: maybe vimium should implement some special attribute of a tag, when it is in the head section, the vimium is automaticly disabled?

bessarabov: I'm not sure I understand you. Who will be responsible for placing this special tag/attribute into the page -- the webmaster or us? If you mean the webmaster, well, I don't think we could get most of them to bother with it.

int3: Yes, I mean the webmaster. Yes, you are right, most of sites will not use this tag/attribute, but most of the sites don't use keybinding either. So, I hope that if the vimium will support such tag/attribute, all webmasters that are using vimuim will change their html pages.

@deleteme i don't think that vimium should be disabled on gmail, greader and other google sites that support vim shortcuts because they have small differences in functionality.
gmail example: you could use gmail shortcuts in insert mode and, when reading a messages/thread, exit insert mode and use j/k to scroll messages.
the only thing missing is an option to focus iframe or something similar.

This is a showstopper for me. I just use google sites 50% of the time and consistent way of working with browser is a must on these sites as well as on normal pages.

Is it going to be enabled for gmail ?

Why was this closed?

I don't recall who closed this, but upon inspection I think it should be closed, at least for the foreseeable future. Gmail operates within tons of iframes and currently we can't bind keystrokes inside of iframes -- only the top level iframe. See https://code.google.com/p/chromium/issues/detail?id=20773.

Until that is resolved this bug is non-actionable.

Additionally, gmail is ignored by default, since most (but not all) users want to use Gmail's built-in vim shortcuts.

The 20773 bug is listed as fixed now! So perhaps this is actionable again? I just got started tinkering with vimium, and immediately hit this issue.

I agree with @drewm1980 I see that the multiple iframes bug has been resolved . So maybe vimium can finally work on Gmail!!

Just came across this thread, and I can assure everyone that Vimium works fine on Gmail. After having disabled the native keyboard shortcuts in Settings to ensure there's no conflicts, you just need to remove the excluded URLs in Vimium that pertain to Gmail. After saving that and refreshing the page, it worked like a charm.

It surely works.

@DavidMetcalfe "After having disabled the native keyboard shortcuts in Settings to ensure there's no conflicts..." sorry, which settings, gmail or vimium?

@kosir He means gmail keyboard shortcuts. Since you want to use vimium shortcuts, you should make sure that "f" isn't being interpreted by gmail to, say, delete all messages. ;-)

Is there a solution for focusing on the email-content frame in gmail? Currently I can't use 'j'/'k' initially. I need to reach the mouse and click inside the email contents.

I confirm @eyalev 's report (even though it's January 2018). I have Gmail shortcuts disabled, yet vimium's "j/k" keys are not scrolling the window. Am I missing something, @DavidMetcalfe ? :) Thanks.

screen shot 2018-01-13 at 12 10 39

^ Screenshot showing what Gmail says after pressing Shift+?

@mkarnicki ...

  1. Check on the options page or in the popup that you do not have an exclusion rule for GMail. For better or for worse, Vimium ships with one.

  2. Failing that, The GMail page contains lots of frames, and it's easy to end up with the focus in the wrong frame.

Thank you for replying, @smblott-github . Re: 1, I do not have the exlusion for GMail in Viumium (double checked). Re: 2, the interesting bit is I realized I can scroll the Hangout contacts list to the right with J/K (assuming correct focus), but I can't scroll a thread of messages, even though I tried focusing that area multiple times. Sorry for "re-opening" this issue, I was hoping someone might have that part figured out.

Just for anyone new to vimium who isn't super clear on how to change these options:

First click the vimium extension icon on your browser and choose the small "options" link in the bottom.

image

Then look for your "excluded keys and urs" list and remove gmail.

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devanshuDesai picture devanshuDesai  ·  4Comments

bartlibert picture bartlibert  ·  4Comments

finalfantasia picture finalfantasia  ·  3Comments

ghost picture ghost  ·  3Comments

PickRelated picture PickRelated  ·  4Comments