I figured this out recently; hopefully this is helpful to others.

1. Install VimClojure http://kotka.de/projects/clojure/vimclojure.html

- vimclojure offers a number of features, but the documentation is
hidden in a text file inside ~/.vim/doc/clojure.txt (you can also read
it here:  http://bitbucket.org/kotarak/vimclojure/src/tip/doc/clojure.txt)

- you need to put your source files in the classpath when running the
nailgun server; if you use lein, you can install lein-nailgun as a dev-
dependency and call "lein nailgun" to run the nailgun server

2. Fire up vim; open up the files you want to edit.
3. Type "\sr" to open a REPL.
4. Call (run-server .... ) in the REPL to start your server.
5. Edit some of the source files on which your server runs. When
you're done, type "\ef", which evaluates the entire file in the REPL.
6. Refresh your browser. Voila!

P.S It's possible to do something similar in swank, but I've never
used it before so I wouldn't know.

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

Reply via email to