public
Last active

Clojure dev with Lein 2 and nrepl (Swank-less)

  • Download Gist
clojure_dev_lein_nrepl.md
Markdown

Before heading down this path, consider using Emacs Live, which is a nice set of defaults for working with Clojure, Overtone and Quil.

Also, check out this nice write-up on debugging with nREPL.

I also drew inspiration (copied things) from Ryan Neufeld's config, which you should also consider using.

Finally, you can check out my ~/.emacs.d/init.el config on GitHub.

All this as of May, 2013...

install lein 2

  • Follow the install instructions.
  • download lein script, it will boot strap itself
  • install on path, rename to lein, chmod 755
  • run lein --version Leiningen 2.0.0 on Java 1.6.0_37 Java HotSpot(TM) 64-Bit Server VM

Emacs >= 24

Emacs Starter Kit

  • look at my init.el
  • install the latest version
  • install the following packages with M-x package-install
    • clojure-mode
    • nrepl
    • nrepl-ritz

Kyle Only (everyone else can skip this)

If you're following along with my terminal helpers repo, do this:

  • install the following packages with M-x package-install
    • maxframe
  • link .mudphone/config/emacs/vendor to ~/.emacs.d/vendor

nrepl (already installed)

  • read the docs
  • at a minimum, check the keybindings out in the README

nrepl auto-complete

verify your config

  • Check out my init.el file (listed above) for the sections on auto-complete, ac-nrepl section.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.