Fork me on GitHub
#vim
<
2018-03-07
>
niclasnilsson08:03:07

Fireplace question: Anyone know if it’s possible to have the output in the repl, instead of returned back to the “transient” buffer?

niclasnilsson08:03:55

Or returned to a separate more permanent buffer would also be a nice option.

niclasnilsson08:03:39

(perhaps even better. Hmm…)

jarrodctaylor13:03:35

@niclasnilsson fireplace has :Last which opens the result of the last evaluation in the preview window.

niclasnilsson13:03:07

@jarrodctaylor Yes, I’ve seen that one, but I was more looking something like that but in a buffer that is appended continously?

niclasnilsson13:03:03

Or a repl where I can see the commands as I send them to it, and also the results. As a normal console repl, but simply feeding it from vim.

dominicm13:03:17

@niclasnilsson fireplace doesn't offer that. Acid.nvim has that, somewhat.

niclasnilsson13:03:58

Ok, will check that out. Thanks, @dominicm!

markwoodhall16:03:18

@niclasnilsson were you thinking of something like this - https://i.imgur.com/5FnkXkK.gif

niclasnilsson16:03:34

@markwoodhall Exactly like that!

niclasnilsson16:03:06

So what tool is that @markwoodhall?

markwoodhall17:03:47

It's a really early version of a plugin I started working on, which I couldn't in all honesty recommend since it is aggressive in it's buffer manipulation, however writing output to another buffer like you mentioned could help in that regard. https://github.com/markwoodhall/vim-aurepl

markwoodhall17:03:28

That version doesn't contain this "output to another buffer logic", I just very quickly experimented with that.

schmee17:03:41

whoa, that looks awesome! 😮

schmee17:03:07

I’m gonna try that out for sure

markwoodhall17:03:01

There are probably many ways in which it won't work. 😂

niclasnilsson17:03:27

Cool! Looks great!