Skip to content

bwachter/emacs-keybinding

Repository files navigation

This is a Emacs key binding addon for Firefox 57+. These keybindings work in most webpages, but not in internal Firefox pages (‘about:xxxx’, new tab page).

Due to limitations of the current extension interface it is not possible to change keybindings for the Firefox user interface itself - and overriding only works for some of the keys, varying between platforms. If bindings are not working please check the troubleshooting guide for tips on how to change Firefox configuration to disable conflicting Firefox bindings.

Shortcomings of the extension interface also require a page to have fully loaded before keybindings can work - i.e., adding a keybinding for aborting loading of a new tab is not possible. Future versions may try workarounds for some keybindings by defining command keys.

For reporting problems please use the Github issue tracker. The developer documentation is useful if you want to contribute to this extension.

Keybindings

Note that bindings without modifier keys are disabled per default. C-n/C-p causes the most issues - see the troubleshooting guide.

Scroll

keymapdescription
C-n or nscroll down
C-p or pscroll up
C-fscroll right
C-bscroll left
M-<scroll to top
M->scroll to bottom

Tab

keymapdescription
M-fnext tab
M-bprevious tab
C-x C-fnew tab
C-x kclose current tab
tfocus on the first input area

Window

keymapdescription
C-u C-x C-fnew window
C-u C-x kclose current window

Others

keymapdescription
C-gfocus on window
C-rrefresh
C-Fhistory forward
C-Bhistory back
C-h ?display help/settings page

Configuration

New tab page

Hide page elements

Top visited pages

Developer settings

The following debug levels are available, and can be configured per subsystem below:

0Off
1Errors
2Warnings
3Info
4Debug

There is no global default debug level - but unticking the checkbox below will enable or disable all debug logging.