Some people might prefer keyboard strokes over mouse clicks. Some people may miss convenient Emacs-style keybindings. Although we cannot do everything in Emacs, we can surf the Net in Emacs fashion with KeySnail. KeySnail is a Firefox extension for Emacs-stype keybindings. With KeySnail, you can scroll web pages down and up with
Meta-v and edit text like using Emacs. There are some plugins for KeySnail to enhence its function.
To install KeySnail, go to KeySnail page and download
keysnail.xpi. Next, open the xpi file with Firefox and install it. Now, restart your Firefox. The first time restarting your Firefox, KeySnail will ask you to create a new init file. There are four available schemes:
If you are using OS X, Lightweight Emacs is recommanded to avoid keybinding conflicts; otherwise, standard Emacs / w3m is favored. The default init file is .keysnail.js or _keysnail.js; the latter is prefered for Windows users. Then, you can start using KeySnail.
Here are some basic keybindings of KeySnail.
There are some special keybindings of KeySnail. Press
<F2> to toggle off and on all KeySnail keybindings. Press
Ctrl-g to cancel current key input, the same life saver in Emacs. For a complete list of KeySnail keybindings, press
There are several KeySnail plugins to enhance the function of KeySnail. Among them, HoK is highly recommended. With HoK, you can navigate the links of a web page without mouse clicks. To install HoK, go to KeySnail plugins page and install HoK from the right-click menu of Firefox.
Then, edit .keysnail.js file, add the following code in reserved area (in top of the file). You can get the code from KeySnail plugin manager from Firefox menu.
Reload init file with
Ctrl-Meta-r to makes the modification effective.
e, you will see some highlighted letters over links, type the letters to go into the link. Click
E to load the link in background. Click
; for advanced operation on hints.
bmany is another recommended plugin. After installation of bmany, add the following code to the bottom of .keysnail.js file.
: b, there will be a list of Firefox bookmarks. You can scroll the list by
Ctrl-p and search pattern by keywords.