Skip to content
Yasnippet's for Clojure
Branch: master
Clone or download
swannodette Merge pull request #6 from dotemacs/deprecated-warning
Added a note about depreciation of this repo
Latest commit eac1c16 Jan 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Added a note about depreciation of this repo Oct 26, 2016
c * c: more snippets Dec 25, 2011
condp * bp: starting write some snippets for Clojure. Mar 30, 2010
defm * defm: add if, fix defm Dec 25, 2011
defmm * c: more snippets Dec 25, 2011
defn * defn: added defn Mar 16, 2010
defp * c: more snippets Dec 25, 2011
defr * c: more snippets Dec 25, 2011
deft * c: more snippets Dec 25, 2011
f
fn * bp: starting write some snippets for Clojure. Mar 30, 2010
if * defm: add if, fix defm Dec 25, 2011
import * import: fix import Dec 25, 2011
kwargs * c: more snippets Dec 25, 2011
let
letfn * letfn: add letfn Dec 25, 2011
m * c: more snippets Dec 25, 2011
ns ns snippet automatically completes the namespace name Apr 27, 2012
perf * bp: new snippets Dec 24, 2011
pm * c: more snippets Dec 25, 2011
refer * ns: fixes Dec 24, 2011
require * ns: fixes Dec 24, 2011
rn * f: add core.logic snippets Jun 26, 2012
rstar rename: r* -> rstar (for Windows compatibility) Jul 22, 2013
use

README.md

Warning


NOTE: these snippets are no longer actively maintained. For the latest actively maintained snippets, organised into a package see https://github.com/mpenet/clojure-snippets

This repo is kept only for reference purposes


Previously

Install yasnippet via the Emacs package manager.

Then:

git clone http://github.com/swannodette/clojure-snippets ~/.emacs.d/snippets/clojure-mode

Or whatever location you prefer. Then In your .emacs you should have something like the following

(when (require 'yasnippet nil 'noerror)
  (progn
    (yas/load-directory "~/.emacs.d/snippets")))
You can’t perform that action at this time.