I just updated webkit-gtk from 1.18 to 1.20, and now the direction up / down keys select the next / previous link, rather than scrolling up and down. I see now that surf advertises only Ctrl-K & Ctrl-J scrolling, but I find the direction keys more comfortable.
Attached is a little patch restoring direction key scrolling. For the record, I don't know about horizontal scrolling and the left / right keys; thankfully I don't come across sites which require it often. Nick
--- config.def.h 2010-08-01 10:40:36.444657948 +0100 +++ config.def.h 2010-08-01 21:01:28.180570285 +0100 @@ -37,6 +37,8 @@ static Key keys[] = { { MODKEY, GDK_h, navigate, { .i = -1 } }, { MODKEY, GDK_j, scroll, { .i = +1 } }, { MODKEY, GDK_k, scroll, { .i = -1 } }, + { 0, GDK_Down, scroll, { .i = +1 } }, + { 0, GDK_Up, scroll, { .i = -1 } }, { 0, GDK_Escape, stop, { 0 } }, { MODKEY, GDK_o, source, { 0 } }, { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
pgp6CVqtIDqZG.pgp
Description: PGP signature