aboutsummaryrefslogtreecommitdiff
path: root/x/Xresources
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-03-14 14:50:33 +1300
committerTom Ryder <tom@sanctum.geek.nz>2023-03-14 14:50:33 +1300
commitaff833f4aa74ef964fa1b80cfe71b5131e92adae (patch)
tree2724c494314a3b48f877531f40b98f95dc96d593 /x/Xresources
parentMerge branch 'release/v12.29.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-aff833f4aa74ef964fa1b80cfe71b5131e92adae.tar.gz
dotfiles-aff833f4aa74ef964fa1b80cfe71b5131e92adae.zip
Merge branch 'release/v12.30.0'v12.30.0
* release/v12.30.0: Rephrase charClass for xterm more cleanly Add xterm bindings for copy/paste to CLIPBOARD Break up Xterm charClass linewise for legibility
Diffstat (limited to 'x/Xresources')
-rw-r--r--x/Xresources15
1 files changed, 14 insertions, 1 deletions
diff --git a/x/Xresources b/x/Xresources
index ed85bdcc..798cc9d2 100644
--- a/x/Xresources
+++ b/x/Xresources
@@ -14,7 +14,12 @@ XTerm.vt100.bellIsUrgent: true
* left and right angle brackets (less-than and greater-than), because being
* able to click URLs quickly outweighs anything else.
*/
-XTerm.vt100.charClass: 33-126:48,60:60,61:48,62:60
+XTerm.vt100.charClass: \
+ 33-59:48, \
+ 60:60, \
+ 61:48, \
+ 62:60, \
+ 63-126:48
/**
* Put the terminal text contents flush against the edges of the window,
@@ -44,3 +49,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)