vim

For discussion on all things (neo)vim.
2020-05-22T03:29:33.122900Z

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

2020-05-22T03:29:54.123400Z

also, are there any plans to add a "send to repl" feature so that you can see the output in the repl process?

2020-05-22T04:49:39.124100Z

@tomgeorge See https://liquidz.github.io/vim-iced/vim-iced.html#g%3Aiced%23buffer%23stdout%23mods for the stdout buffer position

2020-05-22T04:53:54.124500Z

> 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.

👍 1
2020-05-22T15:19:12.125700Z

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

✔️ 1
2020-05-22T15:19:35.126200Z

just super generic (so it works when I'm dabbling with sql, guile, clojure...)

2020-05-22T15:19:39.126400Z

maybe this weekend :D

2020-05-22T15:20:26.126800Z

oh but that wouldn't help here, as that's a stdout buffer and not a repl buffer

dave 2020-05-22T15:51:58.127100Z

would the target buffer be a terminal buffer? if so, that sounds a lot like https://github.com/kassio/neoterm

dave 2020-05-22T15:52:06.127500Z

(assuming you use neovim)

dave 2020-05-22T15:52:34.128Z

oh hey, looks like that plugin might actually work for "legacy" vim too 🙂

dave 2020-05-22T15:52:51.128500Z

(i immediately regret calling vim legacy vim. sorry if that offended anyone)

2020-05-22T15:54:29.129Z

I mean, given the amount of the vim source that is specifically for operating systems you can't even legally acquire any more...

👆 1
2020-05-22T15:56:24.129800Z

@dave yeah that looks a lot like what I was thinking of... somehow in my searching I didn't find that lib

dave 2020-05-22T16:01:10.130Z

i use it sometimes. it's great!