diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-08-18 02:38:33 +0200 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-08-18 02:38:33 +0200 |
commit | 6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42 (patch) | |
tree | 93ebfb332b3a231931fe1b1276632bdaa33fa6e4 /Window_Manager/ratpoison/ratpoisonrc.clipboard | |
parent | c021038355b6773ab13dae92327fda50c366395f (diff) | |
download | dotfiles-6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42.tar.gz dotfiles-6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42.tar.bz2 dotfiles-6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42.zip |
Organise everything systematically.
Diffstat (limited to 'Window_Manager/ratpoison/ratpoisonrc.clipboard')
-rw-r--r-- | Window_Manager/ratpoison/ratpoisonrc.clipboard | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.clipboard b/Window_Manager/ratpoison/ratpoisonrc.clipboard new file mode 100644 index 0000000..dbdcef1 --- /dev/null +++ b/Window_Manager/ratpoison/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 ~/.config/ratpoison/clipboard init + +bind p readkey clipboard_paste +bind y readkey clipboard_set + +# Menu version of paste and set +definekey clipboard_paste p exec ~/.config/ratpoison/clipboard menu_paste +definekey clipboard_set y exec ~/.config/ratpoison/clipboard menu_set + +# Clear buffers +definekey clipboard_set C exec ~/.config/ratpoison/clipboard init + +# Push/pop +definekey clipboard_paste a exec ~/.config/ratpoison/clipboard pop +definekey clipboard_set a exec ~/.config/ratpoison/clipboard push +# pop queue +definekey clipboard_paste q exec ~/.config/ratpoison/clipboard pop_queue + +definekey clipboard_paste 1 exec ~/.config/ratpoison/clipboard paste 1 +definekey clipboard_paste 2 exec ~/.config/ratpoison/clipboard paste 2 +definekey clipboard_paste 3 exec ~/.config/ratpoison/clipboard paste 3 +definekey clipboard_paste 4 exec ~/.config/ratpoison/clipboard paste 4 +definekey clipboard_paste 5 exec ~/.config/ratpoison/clipboard paste 5 +definekey clipboard_paste 6 exec ~/.config/ratpoison/clipboard paste 6 +definekey clipboard_paste 7 exec ~/.config/ratpoison/clipboard paste 7 +definekey clipboard_paste 8 exec ~/.config/ratpoison/clipboard paste 8 +definekey clipboard_paste 9 exec ~/.config/ratpoison/clipboard paste 9 + +definekey clipboard_set 1 exec ~/.config/ratpoison/clipboard set 1 +definekey clipboard_set 2 exec ~/.config/ratpoison/clipboard set 2 +definekey clipboard_set 3 exec ~/.config/ratpoison/clipboard set 3 +definekey clipboard_set 4 exec ~/.config/ratpoison/clipboard set 4 +definekey clipboard_set 5 exec ~/.config/ratpoison/clipboard set 5 +definekey clipboard_set 6 exec ~/.config/ratpoison/clipboard set 6 +definekey clipboard_set 7 exec ~/.config/ratpoison/clipboard set 7 +definekey clipboard_set 8 exec ~/.config/ratpoison/clipboard set 8 +definekey clipboard_set 9 exec ~/.config/ratpoison/clipboard set 9 + |