Setting Up Emacs for Clojure Development
Emacs 🥰 Lisp, and as Clojure is a Lisp like language, Emacs is extremely capable in editing it. I use several packages to make my live a joy inside Emacs, here are the Clojure specific packages:
- paredit: I highly recommend it to work with any lisp, it makes working with the parenthesis a real joy. There is an animated guide of most of the features.
- cider: The only thing you need to run and work with Clojure files
- flycheck-clj-kondo: brings the hints from clj-kondo to the editing screen.
- clj-refactor: provides all the refactoring tools you will need
- clojure-mode: finally the clojure mode to provide basic features (highlighting, indentation, navigation and basic refactoring) into Emacs.
I have an YouTube playlist on my channel that covers most of these tools. The videos are from 2016 (when I did my live coding in Clojure series), but are still very relevant today.