How to Use Emacs, an Excellent Clojure Editor
emacsclojureeditorrepllisp
Abstraction: Emacs setup and key bindings for Clojure development with CIDER REPL
Key points:
- Emacs is fundamentally a Lisp (elisp) interpreter; all commands are elisp functions, all key bindings are customizable lookup-table entries
- CIDER package connects Emacs to a live Clojure REPL via
M-x cider-jack-in; C-x C-e evaluates expression at point, C-c C-k compiles current buffer - Kill ring stores multiple cut items; M-w copies, C-w kills, C-y yanks, M-y cycles through history
- Paredit minor mode auto-closes all brackets and provides slurp (C-→) and barf (C-←) to restructure nested s-expressions
- Emacs uses "frame" for OS window and "window" for pane splits; C-x 2/3 split, C-x o switches focus
Connections: Emacs · Clojure · Cider · Development Environment · Repl · Lisp