From: R. Steve McKown Date: Fri, 30 Oct 2015 20:36:27 +0000 (-0600) Subject: Xresources: support CLIPBOARD paste X-Git-Url: https://oss.titaniummirror.com/gitweb?a=commitdiff_plain;h=f3bfcfbe01b0f3412c0de1f188493043aad1b1ec;hp=f71cfdedd1c8f247fdc0c869e7652a63f53b0c3d;p=smckown%2Fdotfiles.git 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. --- 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