1 --- examples/config/uzbl/config.b 2009-07-13 15:52:39.000000000 +0200
2 +++ examples/config/uzbl/config 2009-07-13 15:53:43.000000000 +0200
4 # from insert mode by combining them with the modkey
6 # Usually you want to spawn a script to handle things, but any command (such as sh) can be used
7 -set history_handler = spawn $XDG_DATA_HOME/uzbl/scripts/history.sh
8 -set download_handler = spawn $XDG_DATA_HOME/uzbl/scripts/download.sh
9 -set cookie_handler = spawn $XDG_DATA_HOME/uzbl/scripts/cookies.py
10 +set history_handler = spawn /usr/share/uzbl/scripts/history.sh
11 +set download_handler = spawn /usr/share/uzbl/scripts/download.sh
12 +set cookie_handler = spawn /usr/share/uzbl/scripts/cookies.py
14 # You can bind whatever things (spawn <foo>, script <bar>,..) to some events TODO: make events system more generic
15 set load_start_handler = set status_message = <span foreground="khaki">wait</span>
17 bind I = toggle_insert_mode 0
18 # Enclose the executable in quotes if it has spaces. Any additional parameters you use will
19 # appear AFTER the default parameters
20 -bind B = spawn $XDG_DATA_HOME/uzbl/scripts/insert_bookmark.sh
21 -bind U = spawn $XDG_DATA_HOME/uzbl/scripts/load_url_from_history.sh
22 -bind u = spawn $XDG_DATA_HOME/uzbl/scripts/load_url_from_bookmarks.sh
23 +bind B = spawn /usr/share/uzbl/scripts/insert_bookmark.sh
24 +bind U = spawn /usr/share/uzbl/scripts/load_url_from_history.sh
25 +bind u = spawn /usr/share/uzbl/scripts/load_url_from_bookmarks.sh
26 # with the sample yank script, you can yank one of the arguments into clipboard/selection
27 -bind yurl = spawn $XDG_DATA_HOME/uzbl/scripts/yank.sh 6 primary
28 -bind ytitle = spawn $XDG_DATA_HOME/uzbl/scripts/yank.sh 7 clipboard
29 +bind yurl = spawn /usr/share/uzbl/scripts/yank.sh 6 primary
30 +bind ytitle = spawn /usr/share/uzbl/scripts/yank.sh 7 clipboard
31 # does the same as yurl but without needing a script
32 bind y2url = sh 'echo -n $6 | xclip'
33 # go the page from primary selection
35 bind !reload = sh 'cat $1 > $4'
37 # this script allows you to configure (per domain) values to fill in form fields (eg login information) and to fill in these values automatically
38 -bind za = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh
39 -bind ze = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh edit
40 -bind zn = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh new
41 -bind zl = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.sh load
42 +bind za = spawn /usr/share/uzbl/scripts/formfiller.sh
43 +bind ze = spawn /usr/share/uzbl/scripts/formfiller.sh edit
44 +bind zn = spawn /usr/share/uzbl/scripts/formfiller.sh new
45 +bind zl = spawn /usr/share/uzbl/scripts/formfiller.sh load
47 # other - more advanced - implementation using perl: (could not get this to run - Dieter )
48 -bind LL = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl load
49 -bind LN = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl new
50 -bind LE = spawn $XDG_DATA_HOME/uzbl/scripts/formfiller.pl edit
51 +bind LL = spawn /usr/share/uzbl/scripts/formfiller.pl load
52 +bind LN = spawn /usr/share/uzbl/scripts/formfiller.pl new
53 +bind LE = spawn /usr/share/uzbl/scripts/formfiller.pl edit
55 # we ship some javascripts to do keyboard based link hinting/following. (webkit does not have C DOM bindings yet)
56 # this is similar to how it works in vimperator (and konqueror)
57 # TODO: did we resolve: "no click() event for hyperlinks so no referrer set" ?
58 #hit F to toggle the Hints (now in form of link numbering)
59 -bind F = script $XDG_DATA_HOME/uzbl/scripts/hint.js
60 +bind F = script /usr/share/uzbl/scripts/hint.js
61 # the most stable version:
62 -bind fl* = script $XDG_DATA_HOME/uzbl/scripts/follow_Numbers.js %s
63 +bind fl* = script /usr/share/uzbl/scripts/follow_Numbers.js %s
64 # using strings, not polished yet:
65 -bind fL* = script $XDG_DATA_HOME/uzbl/scripts/follow_Numbers_Strings.js %s
66 +bind fL* = script /usr/share/uzbl/scripts/follow_Numbers_Strings.js %s
68 # you can use this to disable all plugins
69 set disable_plugins = 0
73 # "home" page if you will
75 +set uri = http://pld-linux.org