Fork me on GitHub
#cursive
<
2016-03-06
>
cfleming00:03:29

@denik: There isn’t at the moment, no. In general, I’d like to be able to do several things here: eval and replace original text, eval and copy to clipboard etc, but you end up with a combinatorial explosion of different actions since you’re also evaling top form, previous form etc.

cfleming00:03:51

Vim’s editing style works much better here: I’d like to select this text and do that to it.

cfleming00:03:23

I’m still not sure what to do here. Perhaps another command to copy the last result to the selection, so you could eval and then copy result to clipboard?

cfleming00:03:14

@joshg: Once you have that option set, you have to reformat - just correcting indentation doesn’t help since that only adjusts the initial line indent.

cfleming00:03:57

I’m going to add a “Reformat current top level form” action for this sort of thing, and I’m toying with the idea of auto-formatting after a second’s delay, or something similar.

joshg00:03:37

@cfleming: thank you for the response

denik15:03:08

@cfleming I'd be okay with a check box to always copy eval results to my clipboard. Then I can search through results using Alfred. REPL history on the OS level would be very useful for me.

denik15:03:21

Even further, and I know this is getting specific, I'd like send stuff to the REPL from Alfred

denik15:03:35

The Alfred slack workflow inspired that line of thinking https://github.com/yannickglt/alfred-slack/blob/master/README.md