bwachter / emacs-keybinding

An addon for using Firefox with Emacs keybinding
https://addons.mozilla.org/en-US/firefox/addon/emacs-keybinding/
Mozilla Public License 2.0
27 stars 7 forks source link

Document all possible key codes for various accel key settings #8

Open bwachter opened 1 year ago

bwachter commented 1 year ago

This would need community involvement: The troubleshooting page has a list of the various options for setting different acceleration keys to access default firefox keybindings.

Comment below with information on platform used, and which keycodes work for which key.

rferris commented 1 year ago

Linux - Gnome desktop. Firefox 115.0.2

I moved the Firefox functions bound to Control over to Alt, allowing this extension to use Control by changing:

ui.key.accelKey = 18 (default 17)
ui.key.chromeAccess = 0 (default 4)
thanosapollo commented 1 year ago

other than setting ui.key.accelKey & ui.key.chromeAccess I've also set devtools.editor.keymap to emacs and added to ~/.config/gtk-3.0/settings.ini:

[Settings]
....
gtk-key-theme-name = Emacs

This is the closest that I've got to having a keyboard driven experience in firefox. I've added vimium but disabled all keys except f to use the 'follow-link' similarly to the way nyxt works.

Extra: I had better luck configuring vimium to use emacs keybindings, I've documented it here