An open API service indexing awesome lists of open source software.

https://github.com/dantecatalfamo/ejson-mode

Emacs major mode for editing ejson files
https://github.com/dantecatalfamo/ejson-mode

ejson elisp emacs

Last synced: about 2 months ago
JSON representation

Emacs major mode for editing ejson files

Awesome Lists containing this project

README

        

# ejson-mode
[![MELPA](https://melpa.org/packages/ejson-mode-badge.svg)](https://melpa.org/#/ejson-mode)

Emacs major mode for editing [ejson](https://github.com/Shopify/ejson) files. Will automatocally generate encryption keys if none are present in the file and allows for manual in-buffer encryption and decryption, and optional automatic ejson encryption on save. Location of ejson keystore and binary can be set manually.

# Default Keybindings
* `C-x C-s` Save and encrypt a file, generate a key if necessary
* `C-c C-e` Encrypt the saved file (run on save by default)
* `C-c C-d` Decrypt the file into the current buffer

# Variables
* `ejson-binary-location` Manually specify the location of the ejson binary
* `ejson-keystore-location` Specify an alternate location for the ejson keystore
* `ejson-encrypt-on-save` Disable automatic encryption on save