diff options
author | Robert Manea <gotmor@gmail.com> | 2009-05-13 01:28:13 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-05-13 01:28:13 +0200 |
commit | 76d8e267b0f64b7213c0cf5f8aa46b6c47ad77cb (patch) | |
tree | 6f8cab7e89836b071d5a1ce52cec17320eaff91a /examples | |
parent | 3532d7214d6a6e6c676f1b87e4ba8c851fcc8f2f (diff) |
fixed BIND regex's greedyness, support to overwrite existing bindings
Diffstat (limited to 'examples')
-rw-r--r-- | examples/configs/sampleconfig-pipe | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/examples/configs/sampleconfig-pipe b/examples/configs/sampleconfig-pipe index 45f3e08..78a1b80 100644 --- a/examples/configs/sampleconfig-pipe +++ b/examples/configs/sampleconfig-pipe @@ -1,7 +1,29 @@ -GET status_format -SET show_status = 1 -BIND x = exit -BIND gG _ = uri http://www.google.com/search?q=%s -SET status_format = <span foreground="red"><b>MSG</b></span><span foreground="orange"> URI </span> -SET status_message = Wazz up dude? -BIND x = exit +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 uzbl.behave.show_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; |