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