Vimium: Vimium tab navigation stops working with Google Docs / Gmail

Created on 30 Jul 2019  ·  2Comments  ·  Source: philc/vimium

When using 'J' and 'K' or gt / gT to navigate between tabs, this stops working when either Google Docs or GMail tab is hit.

In a Google Doc, the 'J' and 'K' keys start typing in the doc.
In GMail, the 'J' and 'K' keys don't work.

Is there a key modifier / hotkey for Vimium that could be invoked to take control when hitting these websites? As a heavy G-Suite user, vimium is pretty limited for tab navigation.

Most helpful comment

The situation means Vimium C was in "Insert" mode when a Google Docs tab gets active, so it wouldn't trigger commands on those keys.

Chrome and Firefox have provided an API of chrome.commands to support global shortcuts, which will be available whatever page you're using. But up to now Vimium doesn't use it.

So here's an AD: I have a customized version of Vimium https://github.com/gdh1995/vimium-c, and it supports this feature. The latest published version of Vimium C is v1.76.1 (v1.76.2 is waiting for reviewing and publishing), and it allows much more shortcuts. Here's also a related issue about shortcut usages: https://github.com/gdh1995/vimium-c/issues/55

All 2 comments

The situation means Vimium C was in "Insert" mode when a Google Docs tab gets active, so it wouldn't trigger commands on those keys.

Chrome and Firefox have provided an API of chrome.commands to support global shortcuts, which will be available whatever page you're using. But up to now Vimium doesn't use it.

So here's an AD: I have a customized version of Vimium https://github.com/gdh1995/vimium-c, and it supports this feature. The latest published version of Vimium C is v1.76.1 (v1.76.2 is waiting for reviewing and publishing), and it allows much more shortcuts. Here's also a related issue about shortcut usages: https://github.com/gdh1995/vimium-c/issues/55

Same problem with Google Sheets as well. Suggestion from gdh1995 above sounds good for master branch.

Was this page helpful?
0 / 5 - 0 ratings