Mozilla or better yet... (OT -- Tux Health?)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bill Jonas
Date:  
Subject: Mozilla or better yet... (OT -- Tux Health?)
--XaepPZQT0uxAV0NY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 19, 2004 at 02:15:31PM -0700, tickticker wrote:
> Yes it certainly is extensible, and I will be sure to mention that, howev=

er=20
> I'm just not feeling the love after 2 days of use.


Try dropping this file in:

$ cat /usr/lib/mozilla/res/builtin/userHTMLBindings.xml
<?xml version=3D"1.0"?>
<bindings id=3D"htmlBindings"
xmlns=3D"http://www.mozilla.org/xbl"
xmlns:xul=3D"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.x=
ul">
<binding id=3D"browserUser">
<handlers>
<handler event=3D"keypress" key=3D"h" command=3D"cmd_scrollLeft"/>
<handler event=3D"keypress" key=3D"j" command=3D"cmd_scrollLineDown"/>
<handler event=3D"keypress" key=3D"k" command=3D"cmd_scrollLineUp"/>
<handler event=3D"keypress" key=3D"l" command=3D"cmd_scrollRight"/>
<handler event=3D"keypress" key=3D"b" command=3D"cmd_scrollPageUp" />
<handler event=3D"keypress" keycode=3D"VK_BACK" command=3D"cmd_scrollPag=
eUp" />
</handlers>
</binding>
</bindings>

This gives you vi keys for moving the page around (in later versions of
Mozilla you'll need to disable auto- type-ahead-find and tell it to only
do that if you hit / or ' first), as well as having b and backspace do a
page-up (to kind of balance the spacebar).

--=20
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins


--XaepPZQT0uxAV0NY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFANbSRdmHcUxFvDL0RAhCqAKCLCPFGCNWvLGkdHr3klJGHesA/WQCggmz7
jq3nvcvOWx23yQAkffw1tpo=
=YYIU
-----END PGP SIGNATURE-----

--XaepPZQT0uxAV0NY--