vim 2023-06-23

Any vim-fireplace user know how to eval a form but skip displaying it in the pager (which may take a long time)? After that I would run :Last to see it in the preview window.

I don't know of any way to do that from fireplace. Might be a good feature request? But when I've had a similar need, I just capture the form in a future and check on it later.

You can hit Ctrl+d to push your long-running evaluation into background and continue editing.

🤯 1

Great suggestions—thanks. I didn’t know about ctrl-d and have been mashing ctrl-c and q (for the pager) in frustration. I will try these.

hm Ctrl-d doesn’t seem to be doing the trick—it’s not the evaluation that’s taking a long time, it’s the dumping of the value to the screen.

Oh I misunderstood

I guess I would evaluate (do (form) nil) instead of (form), or (def result (form)) to examine it later

ok. I was looking for a way to get result into :Last or another buffer. I’ll update this thread if I figure something out

ok just figured out one way: :silent Eval expr

👍 1