Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

A collection of Emacs hacks and tweaks for Clojure development.

Notifications You must be signed in to change notification settings

kriyative/clojure-emacs-hacks

Repository files navigation

Clojure Emacs Hacks

A collection of Emacs hacks and tweaks for Clojure development.

Clojure Mode Extensions

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

clojure-mode-slime.el restores slime integration in clojure-mode 2.0.

Clojuredocs

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.

Installation

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.

About

A collection of Emacs hacks and tweaks for Clojure development.

Resources

Stars

Watchers

Forks

Packages

No packages published