diff options
Diffstat (limited to 'examples/config')
-rw-r--r-- | examples/config/config | 12 |
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 |