GithubHelp home page GithubHelp logo

nrfm / clojure-mode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nextjournal/clojure-mode

0.0 0.0 0.0 3.39 MB

Clojure/Script mode for CodeMirror 6

Home Page: https://nextjournal.github.io/clojure-mode/

License: Eclipse Public License 2.0

HTML 10.49% Clojure 89.51%

clojure-mode's Introduction

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

๐Ÿฅค 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.

clojure-mode's People

Contributors

heliosmaster avatar kommen avatar mhuebert avatar mk avatar philippamarkovics avatar zampino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.