pipeclip

Open your editor, pipe the output to the system clipboard

https://github.com/pharpend/pipeclip

Latest on Hackage:0.1.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-2-Clause licensed by Peter Harpending
Maintained by [email protected]

This opens up your $EDITOR or $VISUAL using the editor-open library. It then takes the edited text and sends it to the X11 clipboard.

As such, this will only work if you have X11. Translated, this is limited to Linux and BSD.