Fork me on GitHub
#chlorine-clover
<
2023-08-04
>
mynomoto18:08:36

Is there a way to eval a symbol without selecting it?

mauricio.szabo22:08:27

No, but you can add a custom command to do it

mauricio.szabo22:08:16

First, run "Chlorine: Open Config". Then, on that file, type:

(defn eval-symbol []
  (p/let [contents (editor/get-var)]
    (editor/eval-and-render contents)))

mauricio.szabo22:08:50

Save the file - you'll get a new command "Chlorine: Eval Symbol"

❤️ 2