projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
087bca4
)
keybind to start a new uzbl instance from the page in primary selection
author
Dieter Plaetinck
<dieter@plaetinck.be>
Mon, 8 Jun 2009 20:50:43 +0000
(22:50 +0200)
committer
Dieter Plaetinck
<dieter@plaetinck.be>
Mon, 8 Jun 2009 20:50:43 +0000
(22:50 +0200)
examples/config/uzbl/config
patch
|
blob
|
history
diff --git
a/examples/config/uzbl/config
b/examples/config/uzbl/config
index
dcb00fd
..
e7c03dc
100644
(file)
--- 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