|
|
Log in / Subscribe / Register

Clipboard selection

Clipboard selection

Posted Apr 17, 2018 19:26 UTC (Tue) by Ross (guest, #4065)
In reply to: Clipboard selection by grawity
Parent article: A look at terminal emulators, part 1

Or if you liked Macs, Motif (probably not), or other non-Windows systems, or just don't like using two modifiers, "alt" makes a nice choice:

Alt <KeyPress>c: select-set(CLIPBOARD)\n\
Alt <KeyPress>v: insert-selection(CLIPBOARD)\n\

If you like to use PRIMARY selections (highlight/middle-click), you might find that alt-spacebar is a convenient way to paste:

Alt <KeyPress>space: insert-selection(PRIMARY,CUT_BUFFER0)\n\

(CUT_BUFFER0 is a fallback there to the old cut buffer system which is useless except it works after the source window has been closed if it supports cut buffers, which xterm does)


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds