Shorten the var->ptr table slightly more.
[uzbl-mobile] / examples / configs / sampleconfig
index cbdaf05..0f0cc1d 100644 (file)
@@ -15,7 +15,9 @@ set download_handler = spawn /usr/share/uzbl/examples/scripts/download.sh
 # TODO: cookie_handler can't take arbitrary actionsyet
 set cookie_handler   = /usr/share/uzbl/examples/scripts/cookies.sh
 set minimum_font_size = 6
-set default_font_size = 11
+set font_size = 11
+# monospace_size defaults to font_size, but you can alter it independently
+#set monospace_size = 10
 
 # use with bind ... = sh <shell-oneliner>
 set shell_cmd         = sh -c
@@ -31,6 +33,10 @@ set status_top = 0
 # define how your titlebar should look like. (short = statusbar is also shown, long = show everything you must see if statusbar is off)
 set title_format_short = TITLE - Uzbl browser <NAME>
 set title_format_long = KEYCMD MODE TITLE - Uzbl browser <NAME> > SELECTED_URI
+# set the characters to use for, and the width of the progress bar
+set status_pbar_done  = *
+set status_pbar_pending = -
+set status_pbar_width = 12
 
 set modkey = Mod1
 # reset to command mode when new page is loaded
@@ -100,11 +106,18 @@ bind    S         = js alert("hi");
 # Parameters are separated by spaces and the script body must be one parameter, so enclose it in
 # quotes and escape any inner quotes using backslashes
 bind    XS        = sh 'echo "act script alert (\'This is sent by the shell via a fifo\')" > "$4"'
-# Keyboard based link following: work in progress! No C DOM bindings yet, no click() event for hyperlinks so no referrer set..Quite basic but does the job for now...
+
+
+# we ship some javascripts to do keyboard based link hinting/following.  (webkit does not have C DOM bindings yet)
+# this is similar to how it works in vimperator (and konqueror)
+# TODO: did we resolve: "no click() event for hyperlinks so no referrer set" ?
 #hit F to toggle the Hints (now in form of link numbering)
-bind    F= script /usr/share/uzbl/examples/scripts/hint.js
-#hit f followed by linknumber and ENTER to follow that link
-bind    f_        = js window.location = document.links[%s].href;
+bind    F = script /usr/share/uzbl/examples/scripts/hint.js
+# the most stable version:
+bind    fl* = script /usr/share/uzbl/examples/scripts/follow_Numbers.js %s
+# using strings, not polished yet:
+bind    fL* = script /usr/share/uzbl/examples/scripts/follow_Numbers_Strings.js %s
+
 
 # "home" page if you will
 set uri = uzbl.org