summary refs log tree commit diff stats
path: root/user/xresources/.xresources/main
diff options
context:
space:
mode:
authorAlan Pearce2019-11-06 12:18:04 +0100
committerAlan Pearce2019-11-06 12:18:04 +0100
commita17a75c72e355528a46e0beaea569159ab2a5d4b (patch)
tree3318d653d9086514ea1aae46339bb30722910839 /user/xresources/.xresources/main
parent279931dca46f31829de6e4d4cf4e264fe2ffabb9 (diff)
downloadnixfiles-a17a75c72e355528a46e0beaea569159ab2a5d4b.tar.lz
nixfiles-a17a75c72e355528a46e0beaea569159ab2a5d4b.tar.zst
nixfiles-a17a75c72e355528a46e0beaea569159ab2a5d4b.zip
xresources: Enable clipboard-based copy and paste in xterm
Diffstat (limited to 'user/xresources/.xresources/main')
-rw-r--r--user/xresources/.xresources/main4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/xresources/.xresources/main b/user/xresources/.xresources/main
index 3c3eb2c2..fafca7f8 100644
--- a/user/xresources/.xresources/main
+++ b/user/xresources/.xresources/main
@@ -44,6 +44,10 @@ xterm*altSendsEscape:      true
 xterm*eightBitInput:       false
 xterm*eightBitMeta:        false
 
+xterm*VT100.Translations: #override \
+                 Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \n\
+                 Ctrl Shift <Key>C:    copy-selection(CLIPBOARD)
+
 ! Local Variables:
 ! compile-command: (concat "xrdb -merge " (shell-quote-argument buffer-file-name))
 ! End: