Fork me on GitHub
#vim
<
2023-05-01
>
marrs12:05:57

Does anyone have any strategies for capturing repl output in vim-fireplace? I can use select/middle-click to extract output but I'd really like to have this stuff in a text buffer so that I can scroll it and edit it in place

Braden Shepherdson14:05:48

you can use :Eval! to evaluate under the cursor and replace it with the result. but if you mean *out* output, I'm not aware of a good way to do that in Fireplace. (I actually switched to Conjure partly to get a persistent log buffer like this.)

marrs14:05:56

Thanks. Perhaps I'll raise a feature request after I've given it some thought

Jan K14:05:36

Try the :Last command after evaluating something

Martynas Maciulevičius17:05:49

I don't use fireplace and instead I use conjure. This captures it by default but sometimes some of the messages also appear in the REPL buffer. So not fully bulletproof.