Note to self: Clojure with Vim and Maven
Posted: | More posts about Hacking clojure Cascalog Note to Self vim
Steps to get a somewhat working Clojure environment with vim:
- Install the current vimclojure plugin.
- Get and install a nailgun client.
- Add vimclojure to your clojure project pom.xml.
- Start the nailgun server from within your maven project with
mvn clojure:nailgunwith the maven clojure plugin.
- Finally start vim, open your favourite clojure file - you can open a REPL with \sr, when in a function definition you can evaluate that with \et - see also tamining vim clojure
Note: There is more convenient tooling for emacs (see also getting started with clojure and emacs) - its just that my fingers are more used to interacting with vim...
2nd note: This post is not an introduction or walk through on how to get Clojure setup in vim - it's not even particularly complete. This is intentional - if you want to start tinkering with Clojure: Use Emacs! This is just my way to re-discover through Google what I did the other day but forgot in the mean time.