copy selected text to clipboard with ^C

Pressing ^C usually sends a SIGINT to the shell.
When the selection is not empty, trap ^C and copy the selection
to the clipboard instead.

Make this user configurable and disabled by default.

ctrlccopy

Edited by Matteo Croce

Merge request reports

Loading