Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bamboo/mjs-pack
Metascript pack for Emacs Live
https://github.com/bamboo/mjs-pack
Last synced: 10 days ago
JSON representation
Metascript pack for Emacs Live
- Host: GitHub
- URL: https://github.com/bamboo/mjs-pack
- Owner: bamboo
- Created: 2014-03-26T20:48:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-21T18:37:02.000Z (about 10 years ago)
- Last Synced: 2023-03-11T02:35:00.467Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 551 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Metascript Live Pack
A hackable [Metascript](https://github.com/massimiliano-mantione/metascript) language mode packaged for [emacs-live](http://overtone.github.io/emacs-live).
![screenshot](mjs-mode.png)
## Features
1. syntax highlighting with support for nice rendering of lambdas and other constructs
2. flymake integration for checking compilation errors as you type (requires [mjs-check](https://github.com/bamboo/mjs-check) as a dev dependency)
3. simple auto indentation
4. code evaluation and a repl
5. npm test integration with stack trace navigation## Keyboard shortcuts
* M-x mjs-repl: Launch a repl.
### mjs buffer
Keyboard shortcut | Description
-------------------------------------|-------------------------------
C-M-f | Move to the next block.
C-M-b | Move to the previous block.
C-M-Space | Mark the next block.
C-M-x | Evaluate active region. Definitions become available in the repl.
C-c, | Run the tests.### mjs test buffer
Usual [compilation-minor-mode](https://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation-Mode.html) shortcuts.
## Installation
git clone into your ~/.live-packs directory and add
```lisp
(live-add-packs '(~/.live-packs/mjs-pack))
```
to your ~/.emacs-live.el## Configuration
M-x customize-group mjs-mode
Have fun!