[Update 2013-01-21] Do gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"
Firefox, GNOME, Gaim, all use the gtk settings to set your keybindings. To get emacs keybindings,
- add the line gtk-key-theme-name = "Emacs" to ~/.gtkrc-2.0 (create the file if it doesn’t exist), OR
- start gconf-editor and change the /desktop/gnome/interface/gtk_key_theme key to Emacs. (Note the uppercase ‘E’), OR
- Run gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
There is a Mozillazine Knowledge Base article that lists which keys work and which don’t. For example, C-t is taken by “New Tab”, and it won’t work… unless you replace all your Firefox “Ctrl” things to “Alt”, by setting ui.key.accelKey to 18 (doesn’t seem to work, though). I also found, on Bill Clementson’s blog, a post called Firefox for Emacs users that describes an extension called Conkeror. Written by Shawn Betts, the author of the awesome ratpoison and stumpwm who doesn’t own a mouse, it looks very
promising extreme (tried it. I wouldn’t continue to call the resulting browser Firefox. Real Firefox can still be got by typing M-x firefox, though.) A Conkeror wiki is here. More tips by Bill Clementson here.