aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-03-11 20:27:31 +1300
committerTom Ryder <tom@sanctum.geek.nz>2023-03-11 20:27:31 +1300
commitf7214b1bcdf885a3e77494d0b16ac8aeb9dce724 (patch)
tree3accf6710547b53db8f13c40eaf5a5ce498a99e6
parentBreak up Xterm charClass linewise for legibility (diff)
downloaddotfiles-f7214b1bcdf885a3e77494d0b16ac8aeb9dce724.tar.gz
dotfiles-f7214b1bcdf885a3e77494d0b16ac8aeb9dce724.zip
Add xterm bindings for copy/paste to CLIPBOARD
-rw-r--r--x/Xresources8
1 files changed, 8 insertions, 0 deletions
diff --git a/x/Xresources b/x/Xresources
index 0fcf4798..ca4210f2 100644
--- a/x/Xresources
+++ b/x/Xresources
@@ -48,3 +48,11 @@ XTerm.vt100.color12: rgb:72/9f/cf
XTerm.vt100.color13: rgb:ad/7f/a8
XTerm.vt100.color14: rgb:34/e2/e2
XTerm.vt100.color15: rgb:ee/ee/ec
+
+/**
+ * Bind extra keys to copy/paste to/from CLIPBOARD rather than PRIMARY, as
+ * a simple selection does.
+ */
+XTerm.vt100.translations: #override \n\
+ Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
+ Ctrl Shift <Key>V: insert-selection(CLIPBOARD)