emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
vemv 2020-12-31T10:02:11.348400Z

anyone has a command that duplicates a line, while doing an effort to not unbalance parentheses? a naive duplication would also duplicate closing parentheses: )))) easily breaking code so I'm looking for something that given a line like this a b c))) inserts <newline><indentation>a b c. and given a line like this: let [a 42 inserts <newline><indentation>a 42 (i.e. skip let [, because that would unbalance parentheses)

yuhan 2021-01-01T10:11:32.349100Z

Lispy has a lispy-kill command which does this

vemv 2021-01-01T13:05:39.349300Z

thanks! I'll check it out

motform 2021-01-07T13:45:24.352Z

I think the same is also found in smartparens/evil-smartparens, if you are still looking.

vemv 2021-01-07T19:10:23.352200Z

I have it in my TODO list yeah. The smartparens hybrid functions look useful thanks!