line-up-words

Align words in an intelligent way
README

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
Install
Published
21 Mar 2022
Sources
line-up-words-v0.15.0.tar.gz
sha256=060f154b237eda801a19811513d56ac818c6f90f52c82721d6f203b022ed2a19
Dependencies
dune
>= "2.0.0"
re2
>= "v0.15" & < "v0.16"
ppx_jane
>= "v0.15" & < "v0.16"
patience_diff
>= "v0.15" & < "v0.16"
core_unix
>= "v0.15" & < "v0.16"
core
>= "v0.15" & < "v0.16"
ocaml
>= "4.08.0"
Reverse Dependencies