pipeclip: Open your editor, pipe the output to the system clipboard

[ bsd2, program, system, text ] [ Propose Tags ]

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.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1
Dependencies base (==4.*), bytestring, editor-open, Hclip, safe [details]
License BSD-2-Clause
Copyright Copyright (c) 2015, Peter Harpending.
Author Peter Harpending
Maintainer peter@harpending.org
Category System, Text
Home page https://github.com/pharpend/pipeclip
Bug tracker https://github.com/pharpend/pipeclip/issues
Source repo head: git clone git://github.com/pharpend/pipeclip.git
this: git clone git://github.com/pharpend/pipeclip.git(tag master)
Uploaded by pharpend at Tue May 19 16:58:37 UTC 2015
Distributions NixOS:0.1.0.1
Executables pipeclip
Downloads 706 total (5 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2016-12-09 [all 6 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for pipeclip-0.1.0.0

[back to package description]

pipeclip

This program pops open your $EDITOR or $VISUAL, takes whatever you inputted into the file, and pipes it to the X clipboard.

As such, this program only works on Linux and BSD.

I've tested it on Arch Linux and FreeBSD.

Installation

pipeclip is written in Haskell, so please install Haskell first: https://github.com/bitemyapp/learnhaskell/blob/master/install.md.

You also need to have xclip or xsel installed.

Then,

cabal install pipeclip

Usage

pipeclip v.0.1.0.0
Copyright (c) 2015, Peter Harpending.
Licensed under the FreeBSD license. See --license for info.

OPTIONS
    -h,--help             Show this page
    --license             Print out the license.
    --stdout              Print output to stdout instead of piping to the clipboard.
    -t,--template EXT     Name the temporary file the editor edits tmp.EXT so that 
                          it has highlighting and stuff.