aboutsummaryrefslogtreecommitdiff
path: root/tools/ratpoisonrc.clipboard
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-04-12 13:05:47 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-04-12 13:05:47 +0200
commit47a0a3f433f820fc78d180884f6ca376fba97b73 (patch)
tree587b80062ebdb947d26ca7a70e32b38b7d67ca45 /tools/ratpoisonrc.clipboard
parent269e617fea39658233db38ad503030c4fe040e80 (diff)
downloaddotfiles-47a0a3f433f820fc78d180884f6ca376fba97b73.tar.gz
dotfiles-47a0a3f433f820fc78d180884f6ca376fba97b73.tar.bz2
dotfiles-47a0a3f433f820fc78d180884f6ca376fba97b73.zip
Tidy up everything :)
Diffstat (limited to 'tools/ratpoisonrc.clipboard')
-rw-r--r--tools/ratpoisonrc.clipboard57
1 files changed, 57 insertions, 0 deletions
diff --git a/tools/ratpoisonrc.clipboard b/tools/ratpoisonrc.clipboard
new file mode 100644
index 0000000..5037886
--- /dev/null
+++ b/tools/ratpoisonrc.clipboard
@@ -0,0 +1,57 @@
+# Use xcb to build a better cut and paste clipboard.
+#
+# C-t y # - paste selection buffer # (and sets the current X PRIMARY selection to it)
+# C-t p # - set selection buffer # using current X PRIMARY selection
+
+# C-t y a - pop selection (treat buffers as a stack with 1 being the bottom)
+# C-t y q - pop selection (queue pop)
+# C-t p a - push selection (treat buffers as a stack with 1 being the bottom)
+
+# C-t y y - paste selection menu
+# C-t p p - set selection menu
+
+# C-t p C - clear all buffers
+
+# change directory to $HOME
+chdir
+
+newkmap clipboard_paste
+newkmap clipboard_set
+exec ~/.tools/clipboard init
+
+bind p readkey clipboard_paste
+bind y readkey clipboard_set
+
+# Menu version of paste and set
+definekey clipboard_paste p exec ~/.tools/clipboard menu_paste
+definekey clipboard_set y exec ~/.tools/clipboard menu_set
+
+# Clear buffers
+definekey clipboard_set C exec ~/.tools/clipboard init
+
+# Push/pop
+definekey clipboard_paste a exec ~/.tools/clipboard pop
+definekey clipboard_set a exec ~/.tools/clipboard push
+# pop queue
+definekey clipboard_paste q exec ~/.tools/clipboard pop_queue
+
+definekey clipboard_paste 1 exec ~/.tools/clipboard paste 1
+definekey clipboard_paste 2 exec ~/.tools/clipboard paste 2
+definekey clipboard_paste 3 exec ~/.tools/clipboard paste 3
+definekey clipboard_paste 4 exec ~/.tools/clipboard paste 4
+definekey clipboard_paste 5 exec ~/.tools/clipboard paste 5
+definekey clipboard_paste 6 exec ~/.tools/clipboard paste 6
+definekey clipboard_paste 7 exec ~/.tools/clipboard paste 7
+definekey clipboard_paste 8 exec ~/.tools/clipboard paste 8
+definekey clipboard_paste 9 exec ~/.tools/clipboard paste 9
+
+definekey clipboard_set 1 exec ~/.tools/clipboard set 1
+definekey clipboard_set 2 exec ~/.tools/clipboard set 2
+definekey clipboard_set 3 exec ~/.tools/clipboard set 3
+definekey clipboard_set 4 exec ~/.tools/clipboard set 4
+definekey clipboard_set 5 exec ~/.tools/clipboard set 5
+definekey clipboard_set 6 exec ~/.tools/clipboard set 6
+definekey clipboard_set 7 exec ~/.tools/clipboard set 7
+definekey clipboard_set 8 exec ~/.tools/clipboard set 8
+definekey clipboard_set 9 exec ~/.tools/clipboard set 9
+