From f3bfcfbe01b0f3412c0de1f188493043aad1b1ec Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Fri, 30 Oct 2015 14:36:27 -0600 Subject: [PATCH] Xresources: support CLIPBOARD paste Middle mouse up event pastes from the PRIMARY buffer. Define Shift plus middle mouse up event to paste from the CLIPBOARD. PRIMARY is the most recently highlighted text, where CLIPBOARD is generally populated with a cut or copy command from a graphical application. --- Xresources | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Xresources b/Xresources index de3a1cd..7672660 100644 --- a/Xresources +++ b/Xresources @@ -93,6 +93,10 @@ xterm*antialias : true !See http://www.leonerd.org.uk/hacks/hints/xterm-8bit.html !for settings to deal with escape sequences, etc. +! Middle button pastes from PRIMARY (default), shift-middle pastes from CLIPBOARD +xterm*vt100.translations: #override \n\ + Shift : insert-selection(CLIPBOARD) + !Xterm default colors !xterm*foreground: black !xterm*background: white -- 2.39.2