Skip to content

Instantly share code, notes, and snippets.

@mudphone
Last active October 11, 2015 17:08
Show Gist options
  • Save mudphone/3892071 to your computer and use it in GitHub Desktop.
Save mudphone/3892071 to your computer and use it in GitHub Desktop.
Clojure dev with Lein 2 and nrepl (Swank-less)
= install lein 2
- Do this: https://github.com/technomancy/leiningen
- 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
- Download latest version: http://emacsformacosx.com, if you want the GUI version
- Or, for CLI, use homebrew
- Or, do both
= Emacs Starter Kit
- look at my init.el
- install latest: https://github.com/technomancy/emacs-starter-kit
- install clojure-mode
package-install <ret> clojure-mode <ret>
- install nrepl
package-install <ret> nrepl <ret>
= nrepl (already installed)
- docs here: https://github.com/kingtim/nrepl.el
- at a minimum, check out the keybindings
= nrepl auto-complete
- https://github.com/purcell/ac-nrepl
(popup docs keybinding didn't work for me, so I'm not using it right now)
= REFS:
- this isn't required reading, but it works:
http://www.kedrovsky.com/blog/clojure-emacs-nrepl-and-leiningen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment