Getting your machine set up to write Clojure is humorously easy.  First, 
the good stuff:

$ brew install clojure
$ brew install leiningen

Then, you'll want to get the VimClojure plugin.  This enables syntax 
highlighting, file type recognition, etc.  Assuming you're using Pathogen:

$ cd ~/.vim/bundle  # => or wherever you keep your vim plugins
$ git clone https://github.com/vim-scripts/VimClojure

One nifty feature of the this plugin is colorizing your parenthesis to help 
you keep track of what's going on.  To enable, add this to your .vimrc:

" Settings for VimClojure
let g:clj_highlight_builtins=1      " Highlight Clojure's builtins
let g:clj_paren_rainbow=1           " Rainbow parentheses'!


That's it!  To start a project, run 
$ lein new {project name}

Further reading is here:
environment setup:  https://gist.github.com/2407109
getting started with web development: 
 https://devcenter.heroku.com/articles/clojure-web-application



-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to