0.1.0 • Published 3 years ago
clojure-mode v0.1.0
Clojure/Script mode for CodeMirror 6
Enabling a decent Clojure/Script editor experience in the browser. Built for and by Nextjournal.
✨ Features
⚡️ 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
📦 Use it in your project
Include it in your deps.edn
{:deps {nextjournal.clojure-mode {:git/url "https://github.com/nextjournal/clojure-mode"
:sha "SHA"}}}
🛠 Development Setup
- Install JS dependencies:
yarn install
- Start dev server:
yarn watch
- Open the demo page at http://localhost:8002/
⚖️ License
Licensed under the EPL License, Copyright © 2020-present Nextjournal GmbH.
See LICENSE for more information.
0.1.0
3 years ago