3 ms·
It's absolutely NOT production ready but I once wrote a one-liner Vim macro to send clojure forms to the REPL via ncat: https://github.com/djtango/spartan-repl
by djtango 4y ago
It's absolutely NOT production ready but I once wrote a one-liner Vim macro to send clojure forms to the REPL via ncat:
https://github.com/djtango/spartan-repl https://github.com/djtango/spartan-repl
I tidied it up a little for my personal .vimrc but it works surprisingly well for how little effort it took to configure. One known issue is if the thread of execution spawns a sub thread then exits (because the ncat socket is closed)
I was surprised just how lightweight a REPL editor integration could be - simply having a Vim editing experience over a REPL is pretty incredible