vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Vimium doesn't work on some pages

Open 1trapbox opened this issue 6 months ago • 4 comments

Vimium doesn't work on some pages

eg: brave://setting https://chromewebstore.google.com brave://newtab

Excluded URLs and keys not set any

Is there a solution? 🙏

1trapbox avatar Dec 11 '23 14:12 1trapbox

It is not a bug, etc., because it is a specification that the extension cannot be used on the above page.

remon2207 avatar Dec 14 '23 23:12 remon2207

When you are talking about specification I assume you mean some kind of global extensions specification that all extensions present in the official store have to follow, am I correct? If so, is there any way to circumvent this kind of limitations? I can understand why it is done but would like to know if there is a workaround since I trust this extension.

ColorfullMadness avatar Dec 22 '23 23:12 ColorfullMadness

+1 for this (but for Firefox). Is there a workaround? I wouldn't mind patching and building the code, if necessary.

I love the extention, but the experience of "J - J - J - J - dammit, <Ctrl-PageDown> - J - J ..." is very frustrating 😅.

n-kam avatar Jan 20 '24 06:01 n-kam

@n-kam you may modify Vimium's source code and add a feature to use the browser.commands API to register a browser-level shortcut to switch tabs.

Here're some documents and examples:

  • https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands
  • https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/commands
  • https://github.com/mdn/webextensions-examples/tree/main/commands

gdh1995 avatar Jan 20 '24 11:01 gdh1995

The answer to this question is covered here in the FAQ.

I don't personally use Vimium's next/previous tab commands. Instead, I've configured system-wide shortcut which works across all apps with tabs (every browser, iTerm, Emacs). I've outlined my workflow on the "tips and tricks" page.

However, @gdh1995 makes an interesting suggestion to add a command. I've opened #4419 to discuss further.

philc avatar Feb 11 '24 05:02 philc