Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Clojure CLI by
retagged by

rlwrap -m enables multiline editing, so changing the clj command to this :

rlwrap -m -r -q '\"' -b "(){}[],^%#@\";:'" clojure

allows for commands like C-^ on the repl which will bring the editor configured in RLWRAP_EDITOR for editing multilines entires, which is pretty convenient.

I almost never use the cli repl, but it is useful when you want to try something quick, and having a better experience for multiline whould be great.

No idea if there is any drawback on starting always like that.

1 Answer

0 votes
by
...