How to Use Overtone with Vimclojure?

1k Views Asked by At

I use SuperCollider with Overtone,and VimClojure. But,it don't work well...What is Problem?

"lein repl" works.

user -> (use 'overtone.live)

project.clj

(defproject overtone-tutorial "1.0.0-SNAPSHOT"
  :dependencies [[overtone "0.5.0"]])

Error

Start Vim

java.lang.IllegalStateException: Attempting to call unbound fn: #'vimclojure.nails/NamespaceOfFile

And NGServer

Warning: repls not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic repls or change the name.

Warning: print-pretty not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic print-pretty or change the name.

3

There are 3 best solutions below

3
On

Please use a newer release of VimClojure. The trouble stems from some changes in Clojure 1.3 regarding dynamic Vars.

1
On

Not really an answer, but Sam Aaron uses emacs. Personally, I find a combination of his live coding setup (https://github.com/overtone/live-coding-emacs) and evil (http://gitorious.org/evil) pretty pleasant for a vim head like me.

0
On

I am using vim-fireplace with Overtone. It's more than adequate for simple hacking.