aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-10-11 09:50:11 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2010-10-11 09:50:11 -0600
commitda00b8c3c8b65b826b91d67d5ddbe5cc07c9ebdf (patch)
treeeea0529292fcadf7a312ce3af305b69ab58c387c /examples/config
parente727ba910ddb4aa1eeec96550387915014f4a73f (diff)
parent8da3fc7070bd9a4f6e712d38d9f628f1399b7c57 (diff)
Merge remote branch 'mathstuf/dev/add-new-keybindings'
Conflicts: examples/config/config
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config12
1 files changed, 10 insertions, 2 deletions
diff --git a/examples/config/config b/examples/config/config
index 925f59b..68c171d 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -261,9 +261,13 @@ set ebind = @mode_bind global,-insert
@cbind gh = uri http://www.uzbl.org
# Yanking & pasting binds
-@cbind yu = sh 'printf $6 | xclip'
-@cbind yy = sh 'printf $7 | xclip'
+@cbind yu = sh 'echo -n $6 | xclip'
+@cbind yU = sh 'echo -n $8 | xclip' \@SELECTED_URI
+@cbind yy = sh 'echo -n $7 | xclip'
+@cbind yY = sh 'echo -n $8 | xclip' \@SELECTED_URI
+# Clone current window
+@cbind c = sh 'uzbl-browser -u $6'
# Go the page from primary selection
@cbind p = sh 'echo "uri `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4'
# Go to the page in clipboard
@@ -312,6 +316,10 @@ set formfiller = spawn @scripts_dir/formfiller.sh
@cbind gy = sh 'echo "event NEW_TAB `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4'
@cbind gY = sh 'echo "event NEW_TAB_NEXT `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4'
+# Clone current tab
+@cbind gd = sh 'echo "event NEW_TAB $6" > $4'
+@cbind gD = sh 'echo "event NEW_TAB_NEXT $6" > $4'
+
# Closing / resting
@cbind gC = exit
@cbind gQ = event CLEAN_TABS