aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/config/uzbl/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index dcb00fd..e7c03dc 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -147,6 +147,8 @@ bind y2url = sh 'echo -n $6 | xclip'
bind p = sh 'echo "uri `xclip -selection primary -o`" > $4'
# go to the page in clipboard
bind P = sh 'echo "uri `xclip -selection clipboard -o`" > $4'
+# start a new uzbl instance from the page in primary selection
+bind 'p = sh 'exec uzbl --uri $(xclip -o)'
bind ZZ = exit
bind Xs = js alert("hi");
# example showing how to use sh