Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clarkema/x12-mode
An Emacs major mode for X12 EDI files
https://github.com/clarkema/x12-mode
Last synced: 3 months ago
JSON representation
An Emacs major mode for X12 EDI files
- Host: GitHub
- URL: https://github.com/clarkema/x12-mode
- Owner: clarkema
- Created: 2019-07-20T21:59:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-20T22:15:21.000Z (over 5 years ago)
- Last Synced: 2024-07-10T22:28:06.150Z (4 months ago)
- Language: Emacs Lisp
- Size: 1000 Bytes
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Electronic-Interchange-Github-Resources - clarkema/x12-mode - An Emacs major mode for X12 EDI files (Syntax Highlighters / Golang)
README
# x12-mode
An Emacs major mode for working with X12 EDI files.
## Installation
1. Copy `x12-mode.el` to somewhere in your `load-path`
2. Add the following to `$HOME/.emacs.d/init.el`:```elisp
(autoload 'x12-mode "x12-mode" "" t)
;; Add more file extensions as required
(add-to-list 'auto-mode-alist '("\\.x12\\'" . x12-mode))
```## Features
* Basic syntax highlighting
* `C-c C-p` will prettify the current buffer, showing one X12 segment
per line.
* `C-c C-u` reverses the prettify operation, removing newlines so the
entire document is a single line.