aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar DuClare <akarinotengoku@gmail.com>2009-05-13 08:59:33 +0300
committerGravatar DuClare <akarinotengoku@gmail.com>2009-05-13 08:59:33 +0300
commitf600d00c660898383b07d2bcda2ceb4deb7acf21 (patch)
treee8bc67bb6eaef0fa219c7cceb55280cddbea13a3 /examples
parent2fffa5089efde7c60d47235f95a23bd0c7fa82ac (diff)
parenta135f3b6e6d03ca3d4ad15c8383047c659953f15 (diff)
Merge commit 'rob/config-refactor' into experimental
Diffstat (limited to 'examples')
-rw-r--r--examples/configs/sampleconfig-pipe33
1 files changed, 29 insertions, 4 deletions
diff --git a/examples/configs/sampleconfig-pipe b/examples/configs/sampleconfig-pipe
index 305f57d..a23f6d9 100644
--- a/examples/configs/sampleconfig-pipe
+++ b/examples/configs/sampleconfig-pipe
@@ -1,4 +1,29 @@
-GET status_format
-BIND xx = exit
-BIND gG _ = uri http://www.google.com/search?q=%s
-SET status_format = MODE <span foreground="khaki">KEYCMD</span> <span foreground="green">URI</span>
+SET show_status = 1
+SET status_background = #303030
+SET status_format = <span font_family="monospace"><span background="khaki" foreground="black">MODE</span> [<span weight="bold" foreground="red">KEYCMD</span>] <span foreground="#606060"> LOAD_PROGRESSBAR </span><span foreground="#99FF66">URI</span> <span foreground="khaki">NAME</span></span>
+BIND j = scroll_vert 20
+BIND k = scroll_vert -20
+BIND h = scroll_horz -20
+BIND l = scroll_horz 20
+BIND b = back
+BIND m = forward
+BIND s = stop
+BIND r = reload
+BIND R = reload_ign_cache
+BIND + = zoom_in
+BIND - = zoom_out
+BIND t = toggle_status
+BIND /_ = search %s
+BIND ; = search
+BIND gh = uri http://www.uzbl.org
+BIND o _ = uri %s
+BIND :wiki _ = uri http://wiki.archlinux.org/index.php/Special:Search?search=%s&go=Go
+BIND gg _ = uri http://www.google.com/search?q=%s
+BIND i = insert_mode
+BIND B = spawn ./examples/scripts/insert_bookmark.sh
+BIND u = spawn ./examples/scripts/load_url_from_history.sh
+BIND U = spawn ./examples/scripts/load_url_from_bookmarks.sh
+BIND ZZ = exit
+BIND S = script alert("hi");
+BIND F= script for (var i=0; i < document.links.length; i++) {var uzblid = 'uzbl_link_hint_';var li = document.links[i];var pre = document.getElementById(uzblid+i);if (pre) {li.removeChild(pre);} else {var hint = document.createElement('div');hint.setAttribute('id',uzblid+i);hint.innerHTML = i;hint.style.display='inline';hint.style.lineHeight='90%';hint.style.backgroundColor='red';hint.style.color='white';hint.style.fontSize='small-xx';hint.style.fontWeight='light';hint.style.margin='0px';hint.style.padding='2px';hint.style.position='absolute';hint.style.textDecoration='none';hint.style.left=li.style.left;hint.style.top=li.style.top;li.insertAdjacentElement('afterBegin',hint);}}
+BIND f_ = script window.location = document.links[%s].href;