aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-10-26 03:43:47 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-10-26 03:43:47 +0800
commitff952dd40fc7cef8e2c31f08b4a6ff56589fe999 (patch)
treee8e9904613ef93f05223c53ac5372fda2486f9a5 /examples
parent9d294e7578e09951c7f0a4ee28d268c2bb3ebe32 (diff)
parente3cb0cc1f85a9de67b61c7c052bec9d8357fac0c (diff)
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Diffstat (limited to 'examples')
-rw-r--r--examples/config/uzbl/config10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 55267fd..07bf69a 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -143,7 +143,8 @@ set socket_dir = /tmp
@bind gg _ = uri http://www.google.com/search?q=%s
# Enclose the executable in quotes if it has spaces. Any additional parameters you use will
# appear AFTER the default parameters
-#@bind B = spawn @scripts_dir/insert_bookmark.sh
+# use a script to insert bookmarks. or use the EM/keycmd technique a bit further down
+@bind B = spawn @scripts_dir/insert_bookmark.sh
@bind U = spawn @scripts_dir/load_url_from_history.sh
@bind u = spawn @scripts_dir/load_url_from_bookmarks.sh
# with the sample yank script, you can yank one of the arguments into clipboard/selection
@@ -169,7 +170,7 @@ set socket_dir = /tmp
@bind XS = sh 'echo "js alert (\\"This is sent by the shell via a fifo\\")" > "$4"'
@bind !dump = sh "echo dump_config > $4"
-@bind !reload = sh 'cat $1 > $4'
+@bind !reload = sh "sed '/^# === Post-load misc commands/,$d' $1 > $4"
# this script allows you to configure (per domain) values to fill in form fields (eg login information) and to fill in these values automatically
set formfiller = spawn @scripts_dir/formfiller
@@ -197,9 +198,8 @@ set formfiller = spawn @scripts_dir/formfiller
# Examples using multi-stage-bindings with text prompts.
@bind o<uri:>_ = uri %s
-# Prints tab separated "uri title keyword tags" to the bookmarks file.
-# TODO: Improve bookmarks script to handle this format & include date in bookmark format.
-@bind <Ctrl>b<name:>_<tags:>_ = sh 'echo -e "$6 $7 %s %s" >> $XDG_DATA_HOME/uzbl/bookmarks'
+# multi-stage binding way to write bookmarks to file from inside uzbl.
+@bind <Ctrl>b<tags:>_ = sh 'echo -e "$6 %s" >> $XDG_DATA_HOME/uzbl/bookmarks'
# Multi-stage bindings with blank prompts (similar behaviour to emacs M-c M-s bindings?)
@bind <Ctrl>a<:><Ctrl>q = exit