package line-up-words

  1. Overview
  2. Docs
Align words in an intelligent way

Install

Dune Dependency

Authors

Maintainers

Sources

line-up-words-v0.11.0.tar.gz
sha256=613437bb8f6d4312a213f99adb8f262bdb29982572a015497e976d638aa2ee77
md5=e242d0d13d14f4a589054605ba7b3023

Description

line-up-words is a small command line tool that tries to align words in a sequence of lines in an intelligent way.

It comes as a binary and an emacs mode.

Published: 22 Mar 2018

README

line-up-words - Align words in an intelligent way

line-up-words is a small command line tool that tries to align words in a sequence of lines in an intelligent way. It comes as a command line tool and an emacs mode.

Example

$ cat file.ml
{ name : string
; dir : Path.t
; version : string
; description : string
; archives : Path.t list Mode.Dict.t
; plugins : Path.t list Mode.Dict.t
; jsoo_runtime : string list
; requires : t list
; ppx_runtime_deps : t list
$ line-up-words < file.ml
{ name             : string
; dir              : Path.t
; version          : string
; description      : string
; archives         : Path.t list Mode.Dict.t
; plugins          : Path.t list Mode.Dict.t
; jsoo_runtime     : string list
; requires         : t list
; ppx_runtime_deps : t list

Emacs mode

The emacs mode defines the interactive function line-up-words. For instance, to bind it to C-c a, add this to your ~/.emacs:

(require 'line-up-words)
(global-set-key "\C-c a" 'line-up-words)

Installation

The easiest way to install the line-up-words command line tool is via the opam package manager. Once you have installed opam, you can run the following command to install line-up-words:

$ opam install line-up-words

Dependencies (9)

  1. pcre
  2. ocaml-migrate-parsetree >= "1.0" & < "2.0.0"
  3. jbuilder >= "1.0+beta18.1"
  4. re2 >= "v0.11" & < "v0.12"
  5. ppx_jane >= "v0.11" & < "v0.12"
  6. patience_diff >= "v0.11" & < "v0.12"
  7. core_extended >= "v0.11" & < "v0.12"
  8. core >= "v0.11" & < "v0.12"
  9. ocaml >= "4.04.1"

Dev Dependencies

None

Used by

None

Conflicts (1)

  1. jbuilder = "1.0+beta19"
OCaml

Innovation. Community. Security.