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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Dependencies base (>=4 && <5), 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 2015-05-19T16:58:37Z
Distributions NixOS:0.1.0.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables pipeclip
Downloads 1445 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-09 [all 6 reports]

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.