9fc4d524f148d31e127140f1946264fb7f6dfcc7
[uzbl-mobile] / examples / configs / sampleconfig-pipe
1 # Behaviour and appearance
2 set show_status       = 1
3 set status_background = #303030
4 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 foreground="orange">MSG</span></span>
5
6 # Key bindings
7 bind    j         = scroll_vert 20
8 bind    k         = scroll_vert -20
9 bind    h         = scroll_horz -20
10 bind    l         = scroll_horz 20
11 bind    b         = back
12 bind    m         = forward
13 bind    s         = stop
14 bind    r         = reload
15 bind    R         = reload_ign_cache
16 bind    +         = zoom_in
17 bind    -         = zoom_out
18 bind    t         = toggle_status
19 bind    /_        = search %s
20 bind    ;         = search
21 bind    gh        = uri http://www.uzbl.org
22 bind    o _       = uri %s
23 bind    :wiki _   = uri http://wiki.archlinux.org/index.php/Special:Search?search=%s&go=Go
24 bind    gg _      = uri http://www.google.com/search?q=%s
25 bind    i         = insert_mode
26 bind    B         = spawn ./examples/scripts/insert_bookmark.sh
27 bind    u         = spawn ./examples/scripts/load_url_from_history.sh
28 bind    U         = spawn ./examples/scripts/load_url_from_bookmarks.sh
29 bind    ZZ        = exit
30 bind    S         = script alert("hi");
31 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);}}
32 bind    f_        = script window.location = document.links[%s].href;