in vim-iced, is there a way to change the behavior of the stdout buffer? It opens in a horizontal split and I would prefer if it opened in a vsplit
also, are there any plans to add a "send to repl" feature so that you can see the output in the repl process?
@tomgeorge See https://liquidz.github.io/vim-iced/vim-iced.html#g%3Aiced%23buffer%23stdout%23mods for the stdout buffer position
> also, are there any plans to add a "send to repl" feature so that you can see the output in the repl process?
Currently, there is no way.
When you use clojure.tools.logging
, you may see the log in your repl.
I've thought about making a vim plugin that would attach a "target" buffer to your current buffer, and send your region / selection / motion etc. to that buffer followed by a newline with a single keypress
just super generic (so it works when I'm dabbling with sql, guile, clojure...)
maybe this weekend :D
oh but that wouldn't help here, as that's a stdout buffer and not a repl buffer
would the target buffer be a terminal buffer? if so, that sounds a lot like https://github.com/kassio/neoterm
(assuming you use neovim)
oh hey, looks like that plugin might actually work for "legacy" vim too 🙂
(i immediately regret calling vim legacy vim. sorry if that offended anyone)
I mean, given the amount of the vim source that is specifically for operating systems you can't even legally acquire any more...
@dave yeah that looks a lot like what I was thinking of... somehow in my searching I didn't find that lib
i use it sometimes. it's great!