Fork me on GitHub
#spacemacs
<
2020-05-29
>
donyorm01:05:33

Just updated to the develop branch of spacemacs. In clojure repls C-j now no longer makes a new line in the repl. How do you make new lines in a repl buffer now?

aisamu02:05:36

I'm not sure what you're referring to, but SPC j n and pressing enter while on input mode add newlines on the repl buffer

practicalli-johnny12:05:19

C-RET in Evil insert state or Emacs to span your code over multiple lines in the Clojure REPL buffer. C-j and C-k cycle through the REPL history https://practicalli.github.io/spacemacs/evaluating-clojure/evaluate-in-repl-buffer.html

practicalli-johnny12:05:56

Its more common to write code in source code files and evaluate specific expressions as you write or change them. https://practicalli.github.io/spacemacs/evaluating-clojure/

telekid15:05:19

also see the useful cider-scratch-buffer, if you want a place to evaluate forms without throwing them into tracked files

donyorm15:05:03

Thanks that’s helpful!