This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
@theeternalpulse can you explain the problem you were experiencing , sorry I am not sure I get it.
, e f or
, e ; mostly to evaluate Clojure expressions in the source code buffer. This works anywhere in the expression, no matter how nested.
Are you using
, e e at the end of the line instead? I only use that on the next line (or lines) below the expression as it easy to evaluate a nested expression otherwise.
I bind this to
, e e at the end of the paren without going to the next word or next line
it's basically what lisp has for eval last sexp but for clojure. I use , e f sometimes but I have started using comment blocks for my experiments and this makes it easier.
I'd like to include something in evil-adjust where you can specify the eval function with an alist so that this code can just determine what it should use in what mode, since by defautl evil-adjust is just for lisp
#_ to comment each expression, rather than a comment block. It allows eval by the developer and you dont have to worry about evaluating the comment block. Works very nicely in threading macros and inside any other expression
comment function returns nil, where as the comment reader macro simply makes things disappear 🙂
True, I just like the way evil-adjust works and wanted to get it to work the same for clojure. I sometimes try things out inline and I always run into wanting to eval at the end of the sexp rather than jump afterward