August 29, 2019

Basic Emacs Setup for Clojure Development.

This is my basic setup for working with Emacs and Clojure. The setup is intended for user of Emacs that uses Spacemacs the awesome Emacs distribution intended for both Vim and traditional Emacs user.


  • Install Emacs, if you are on OSX, I recommend Emacs for OSX
  • Install Spacemacs, this is what I used as I am coming from Vim, it is natural progression to be able to use Vim's key bindings.
  • Setup Spacemacs to have sensible packages for Clojure development.
    ## I had this one symlink to ~/bin/emacs
    /Applications/ "$@"


  • Ensure that you use recent version of Emacs
  • Use the develop branch of Spacemacs instead of master branch
  • You should remaps your left's caps lock to control for awesome productivity.
  • While you are at it, try also remap the Options to Command and Command to Options (optional)
  • I have the setup script to make this simple (more details later)
  • Learn the basic command that you will need to interact with Clojure project
    • cider-jack-in to start the session
    • split windows navigation, and switch to it to see your REPL's result
    • Learn the basic key that allow you to work with parens effectively
Tags: development clojure emacs spacemacs