aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README10
-rw-r--r--examples/config/uzbl/config23
2 files changed, 20 insertions, 13 deletions
diff --git a/README b/README
index 0ec03ba..e751d42 100644
--- a/README
+++ b/README
@@ -111,12 +111,10 @@ The following commands are recognized:
* `back`
* `forward`
-* `scroll_vert <amount>`
-* `scroll_horz <amount>`
- - amount is given in pixels(?) or as a percentage of the size of the view
- - set amount to 100% to scroll a whole page
-* `scroll_begin`
-* `scroll_end`
+* `scroll <vertical|horizontal> <argument>`
+ - argument can be `begin`, `end`, or an amount given in pixels(?)
+ or as a percentage of the size of the view
+ - set the amount to 100% to scroll a whole page
* `reload`
* `reload_ign_cache`
* `stop`
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 8a2ad87..7668963 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -113,13 +113,22 @@ set socket_dir = /tmp
# With this command you can enter in any command at runtime when prefixed with
# a colon.
@bind :_ = chain '%s'
-
-@bind j = scroll_vert 20
-@bind k = scroll_vert -20
-@bind h = scroll_horz -20
-@bind l = scroll_horz 20
-@bind << = scroll_begin
-@bind >> = scroll_end
+@bind j = scroll vertical 20
+@bind <Down> = scroll vertical 20
+@bind <Page_Down> = scroll vertical 500
+@bind k = scroll vertical -20
+@bind <Up> = scroll vertical -20
+@bind <Page_Up> = scroll vertical -500
+@bind h = scroll horizontal -20
+@bind <Left> = scroll horizontal -20
+@bind l = scroll horizontal 20
+@bind <Right> = scroll horizontal 20
+@bind << = scroll vertical begin
+@bind <Home> = scroll vertical begin
+@bind >> = scroll vertical end
+@bind <End> = scroll vertical end
+@bind ^ = scroll horizontal begin
+@bind $ = scroll horizontal end
@bind b = back
@bind m = forward
@bind S = stop