:repl-init myapp.repl
Emacs users are used to the paredit plugin that makes it easy to keep parenthesis balanced. Vim users can get the same effect with paredit.vim.
Install Tmux
Install tslime.vim
Install Leiningen plugin: lein-repls
Also install the cljsh
script on your path
In project.clj
add:
:repl-init myapp.repl
In src/clj/myapp/repl.clj
:
(ns myapp.repl
(:use [cljs.repl.browser :only (repl-env)])
(:require [cljs.repl]))
(defn repljs []
(cljs.repl/repl (repl-env)))