vim

Dumch 2022-12-28T12:03:15.399899Z

Hey, guys! What do you use to select and format Clojure code? I'd like to prettify the REPL-output of long maps in particular (I'm aware of clojure.pprint/pprint, but I don't want to rewrite the code every time).

Dumch 2022-12-29T20:17:34.570299Z

Thank you for the hint! I think I will use a tool for the task, but I am already a fan of flow-storm 🙂

practicalli-johnny 2022-12-28T18:48:50.606479Z

For larger data or highly nested data I would use an inspector, e.g https://github.com/djblue/portal To avoid wrapping code in an explicit tap> call, then all evaluation can be sent to portal via nrepl https://github.com/djblue/portal

Nundrum 2023-01-03T18:15:47.845569Z

Something I do a lot is use fireplace's C!! to eval a form and put the results in the buffer.