From 346e5afc22321589d54bff9c3e3971c8392cf168 Mon Sep 17 00:00:00 2001 From: Nicolas Pouillard Date: Mon, 2 Nov 2009 10:51:23 +0100 Subject: Update docs about scrolling --- README | 10 ++++------ examples/config/uzbl/config | 23 ++++++++++++++++------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/README b/README index cd3e8db..816fff4 100644 --- a/README +++ b/README @@ -111,12 +111,10 @@ The following commands are recognized: * `back` * `forward` -* `scroll_vert ` -* `scroll_horz ` - - 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 ` + - 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 d72be2c..fffc8b6 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 = scroll vertical 20 +@bind = scroll vertical 500 +@bind k = scroll vertical -20 +@bind = scroll vertical -20 +@bind = scroll vertical -500 +@bind h = scroll horizontal -20 +@bind = scroll horizontal -20 +@bind l = scroll horizontal 20 +@bind = scroll horizontal 20 +@bind << = scroll vertical begin +@bind = scroll vertical begin +@bind >> = scroll vertical end +@bind = scroll vertical end +@bind ^ = scroll horizontal begin +@bind $ = scroll horizontal end @bind b = back @bind m = forward @bind S = stop -- cgit v1.2.3