This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/lang/clojure
syl20bnr 9ec8038554 Move fancify symbols in clojure layer + refactorings
Refactoring aims at eliminate redundancy of sexp where
it is possible.
2014-12-17 00:58:14 -05:00
..
clojure.png Clojure contribution layer 2014-12-11 18:59:45 -05:00
packages.el Move fancify symbols in clojure layer + refactorings 2014-12-17 00:58:14 -05:00
README.md Add align-cljlet package to clojure layer 2014-12-15 21:27:18 -05:00

Clojure contribution layer for Spacemacs

logo

Table of Contents

Description

This layer adds support for Clojure language using Cider.

Packages Included

Goodies

  • Pretty symbols for anonymous functions and set literals, like (λ [a] (+ a 5)), ƒ(+ % 5), and ∈{2 4 6}.

Install

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(clojure)
  "List of contribution to load."
)

Cider

Cider requires nRepl middleware to function, please check the installation instructions at the cider repository.

Key Bindings

Documentation

Key Binding       |                 Description

----------------------|------------------------------------------------------------ SPC m d d | cider doc SPC m d g | cider grimoire SPC m d j | cider javadoc

Evaluation

Key Binding       |                 Description

----------------------|------------------------------------------------------------ SPC m e b | eval buffer SPC m e r | eval region SPC m e s | eval last sexp

Goto

Key Binding       |                 Description

----------------------|------------------------------------------------------------ SPC m g v | goto var SPC m g e | goto error SPC m g s | goto symbol

REPL

Key Binding       |                 Description

----------------------|------------------------------------------------------------ SPC m j | cider jack in SPC m k | cider load-buffer SPC m z | switch to repl

Tests

Key Binding       |                 Description

----------------------|------------------------------------------------------------ SPC m t t | run tests