Enabling a decent Clojure/Script editor experience in the browser. Built for and by [Nextjournal](https://nextjournal.com/).
npm install clojure-modeEnabling a decent Clojure/Script editor experience in the browser. Built for and by Nextjournal.
* 🤹♀️ Live demo with in-browser eval
* 🐢 Try it in Nextjournal
* 📦 Use it in your project
⚡️ Lightning-fast thanks to lezer incremental parsing
* Try pasting clojure/core.clj into the live demo.
🥤 Slurping & 🤮 Barfing
* Forward: Ctrl + ← / → or Mod + ⇧ + J / K
* Backward: Ctrl + Alt + ← / →
💗 Semantic Selections
* Expand/Contract: Alt + ↑ / ↓ or Mod + 1 / 2
🧙 Prepared for evaluation
* At Cursor: Alt + ⏎
* Top-level form: Alt + ⇧ + ⏎
* Cell: Mod + ⏎
🧹 Autoformatting following Tonsky’s Better Clojure Formatting
🎹 And lots of more useful key bindings
``clojure`
{:deps {nextjournal.clojure-mode {:git/url "https://github.com/nextjournal/clojure-mode"
:sha "SHA"}}}
* Install JS dependencies: yarn installyarn watch`
* Start dev server:
* Open the demo page at http://localhost:8002/
Licensed under the EPL License, Copyright © 2020-present Nextjournal GmbH.
See LICENSE for more information.