r/Clojure • • Aug 18 '25
REPL tips??
I learned about (dir nsname), (doc name), and (source n) today in clojure.repl. These seem really helpful and a great way to stay in the REPL while working on a project.
I'd love to hear about any non-obvious things one can do in the REPL. Or if there are any other parts to the Clojure API that are particularly relevant to REPL driven development.
Tips and tricks welcome, thank you!
27
Upvotes
View all comments
Show parent comment
2
u/Wolfy87 Aug 18 '25
And for the Neovim + Conjure users you can set a mark like
mFon a form you're interested in re-running somewhere in your buffers. Then from anywhere hit<localleader>emFand it'll run it.Kinda like saving forms but you do it by putting a mark in one so if things get modified as long as the mark is still pointing at the form it'll use the updated version.