Vim Vixen extension for Firefox breaks on Tildes
Hi, I'm new here. I use an extension for Firefox called Vim Vixen that allows the user to navigate webpages pretty effectively via the keyboard. One of its features allows the user to press the f
key to bring up an overlay of keybindings over all links on the page, and pressing the keys associated with a link causes the browser to follow the link. I'm not intimately familiar with how the extension works, but with some basic Inspect Element-fu, I'm reasonably sure this feature is implemented with an iframe that is injected over the entire page.
On Tildes, the iframe is visible in the top left corner and shifts all the actual content over accordingly. Normally, it is invisible. This is the only time I've ever had a problem with the extension, which is why I'm posting here first rather than reporting an issue with the extension. If someone more knowledgeable is interested in creating a fresh Firefox profile and comparing how the extension works on Wikipedia and on Tildes, I'd appreciate it. The code for the iframe appears to be identical on both sites, and it's at the end of the page body.
My bad, I searched ~tildes but not the repo issues!
Thanks for the info; should have searched the repo.
maybe try vimium it doesn't seem to have issue you mentioned.
I can't speak to vimium... but Tridactyl works just fine with Tildes restrictive CSP from what I can tell. It's what I have been using based on Deimos' recommendation (so I assume it works fine for him too).
I briefly switched to Tridactyl a while ago but didn't like the default commands. Just switched back and put in the effort, and I'm liking it slightly more than Vim Vixen. It seems to have better documentation and development practices, but I wish there was a dedicated page for modifying keybindings rather than the somewhat sprawling nmaps and excmds documentation.
Yeah, messing with the keybindings can be pretty annoying, so I haven't really bothered with it too much. I generally just stuck to learning the defaults, other than rebinding a few that particularly annoyed me, e.g. I changed
scrollpage 1
from<C-f>
to<C-v>
, since I am too habituated to using Ctrl-f for "find in page".p.s. Referencing the config.ts and using
:unbind
and:bind
to shift things around is how I did it.Do Tildes have any native keyboard shortcuts? I don't know cause I use Vimium.
Apart from That, Tildes itself could have a native Vim-like mode? One can only dream :)
Not that I am aware of, nor is anything currently in the works AFAIK. However:
https://gitlab.com/tildes/tildes/issues/251
https://tildes.net/~tildes/61t