Hacker News new | ask | show | jobs
by bovine3dom 542 days ago
You might be interested to learn that Tridactyl and Firenvim use the same library to manage getting and setting text across the various JS editors

https://github.com/glacambre/editor-adapter/

2 comments

I appreciate all the work you and other maintainers put into Tridactyl as it’s the best extension of its kind so far. That being said Vim-in-the-browser still sucks to this day, especially with so many webapp sites that hijack browser shortcuts and never play nice with F-navigation.

Is there a way to completely disable all regular browser shortcuts as well as all key event propagation to the sites themselves, and make Tridactyl the be-all-end-all handler for the keyboard?

For websites stealing keys from Firefox, Tridactyl has some terribly named settings called `leavegithubalone` and `leavegithubalonekeys`

If `leavegithubalone` is set to false (the default) and a website can steal a `leavegithubalonekeys` key from Firefox (usually /) then that is a Tridactyl bug. Unfortunately it is a Tridactyl bug that I do not know how to fix :)

For Firefox stealing keys from Tridactyl, you can patch Firefox without rebuilding it as this intrepid bunch describe here

https://github.com/glacambre/firefox-patches/issues/1#issuec...

You might be interested to learn that this commenter above is the (one of the?) Tridactyl maintainer :)