A collection of Emacs hacks and tweaks for Clojure development.
clojure-mode-ext.el
is a collection of Clojure development
extensions on top of the clojure-mode.
Provides cljx/slime-compile-file
- which is a convenient way to
(remove-ns ..)
the current namespace and recompile.
Provides cljx/slime-edit-definition
which can fallback to using TAGS
to find Java interop code within .java files.
Adds some bindings in the slime and clojure-mode keymaps.
clojure-mode-slime.el
restores slime integration in clojure-mode
2.0.
clojuredocs.el
provides a simple interface to lookup Clojure
documentation from the excellent clojuredocs.org web site, without
leaving the comfort of Emacs - courtesy of w3m and emacs-w3m.
Provides the M-x clojuredocs
command, which will get the symbol at
point; or prompt for a symbol name, look it up in clojuredocs.org, or
find the javadoc for Java classes, and render the results using the
default browser.
Also see browse-w3m.el for an example of how to setup w3m as the default browser.
Just add the following to your ~/.emacs
or ~/.emacs.d/init.el
file:
:(require ‘clojure-mode-ext) :(require ‘clojure-mode-slime) :(require ‘clojuredocs)
and, optionally add:
:(cljx/basic-init)
which adds some useful defaults for indenting with spaces only and ensuring files are saved with a final newline.