aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2010-03-23 21:46:30 +0100
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2010-03-23 21:46:30 +0100
commitc05dbdd88f63c568f7d74cbf0b8cec3496eb6f13 (patch)
tree35610c4ab3edb4184dfccc11f70e5256810b0f83
parent67b49b9df6738fff49becbf62dfb57cda1f4d953 (diff)
shift-insert binding to paste contents from primary selection buffer into keycmd
-rw-r--r--examples/config/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config
index 459b1be..8786e8b 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -136,6 +136,7 @@ set socket_dir = /tmp
#modkey_addition <Key1> <Key2> <Result>
@modkey_addition <Shift> <Ctrl> <Meta>
@modkey_addition <Shift> <Tab> <Shift-Tab>
+@modkey_addition <Shift> <Insert> <Shift-Insert>
#ignore_key <glob>
@ignore_key <ISO_*>
@@ -305,6 +306,8 @@ set toggle_cmd_ins = @toggle_modes command insert
@cbind P = sh 'echo "uri `xclip -selection clipboard -o | sed s/\\\@/%40/g`" > $4'
# Start a new uzbl instance from the page in primary selection
@cbind 'p = sh 'exec uzbl-browser --uri $(xclip -o)'
+# paste primary selection into keycmd
+@bind <Shift-Insert> = sh 'echo "event APPEND_KEYCMD `xclip -o | sed s/\\\@/%40/g`" > $4'
# --- Bookmark inserting binds ---
@cbind <Ctrl>b<tags:>_ = sh 'echo -e "$6 %s" >> $XDG_DATA_HOME/uzbl/bookmarks'