editor-open: Open the user's $VISUAL or $EDITOR for text input.

[ apache, library, program, text ] [ Propose Tags ] [ Report a vulnerability ]

You know when you run git commit, and an editor pops open so you can enter a commit message? This is a Haskell library that does that.

This library isn't very portable. It relies on the $EDITOR environment variable. The concept only exists on *nix systems.

CHANGES

0.6.0.0
Support less common $VISUAL. vi is the fallback editor now instead of nano.
0.5.0.0
Now use conduits on the backend. Support base<4.8

[Skip to Readme]

Modules

[Index]

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, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.5.0.0, 0.6.0.0 (info)
Dependencies base (>=4 && <5), bytestring, conduit (>=1.2.3), conduit-extra, directory, editor-open, process (>=1.2), resourcet, temporary, transformers, unix [details]
License Apache-2.0
Copyright Copyright 2015 Peter Harpending
Author Peter Harpending
Maintainer peter@harpending.org
Category Text
Home page https://github.com/pharpend/editor-open
Bug tracker https://github.com/pharpend/editor-open/issues/new
Source repo head: git clone https://github.com/pharpend/editor-open.git
this: git clone https://github.com/pharpend/editor-open.git(tag 0.6.0.0)
Uploaded by pharpend at 2015-05-19T17:05:56Z
Distributions LTSHaskell:0.6.0.0, NixOS:0.6.0.0, Stackage:0.6.0.0
Reverse Dependencies 2 direct, 0 indirect [details]
Executables editor-open-test_yaml_file_conduit, editor-open-test_yaml_file
Downloads 8258 total (55 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-05-23 [all 1 reports]

Readme for editor-open-0.6.0.0

[back to package description]
editor-open
===========

You know when you run `git commit`, and an editor pops open so you can enter a
commit message? This is a Haskell library that does that.

This library isn't very portable. It relies on the `$EDITOR` environment
variable. The concept only exists on *nix systems.

Installing
----------

If you're using this library, I assume you're familiar with the basic
infrastructure of Haskell programs. If not, check out bitemyapp's guide
to learning Haskell: <https://github.com/bitemyapp/learnhaskell>.

Just add `editor-open` to the `build-depends:` field in your project's `.cabal`
file.

Alternatively, you can just do a one-off installation with:

    cabal install editor-open

Contact
-------

* Email: `peter@harpending.org` 
* IRC: `pharpend` on FreeNode and OFTC

Copyright
---------

Copyright 2015 Peter Harpending

Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License.  You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.