vrepl
Bootstrap vim with a clojure nrepl session.
dependencies
recommended plugins
setup
In $HOME/.clojure/deps.edn
, add a new alias:
:aliases
{:vrepl {:main-opts ["-m" "vrepl.core"]
:extra-deps
{vrepl {:git/url "https://github.com/djblue/vrepl.git"
:sha "cc7f140869ce3ab8602e289248226a9b2b247943"}}}}
then run:
clojure -Avrepl
If you want to include the current directoy in your class path, do:
clojure -Sdeps '{:paths ["."]}' -Avrepl
You should be put into a new empty vim window in a clojure buffer with a connected nrepl session. Any additional arguments will be passed directly to vim, so you can pass files you want to open as well.
To setup a shell alias for vrepl, do:
alias vrepl="clojure -Sdeps '{:paths [\".\"]}' -Avrepl-dev"