ahw / vim-hooks

Easily hook shell scripts into Vim autocmd events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dump stdout and stderror into different buffers when vimhook.bufferoutput is set

ahw opened this issue · comments

Should be able to send both to the same buffer (current default behavior?) or to different buffers. If different buffers, then declaring one of them will imply that you wish to ignore the other unless additional options are specified elsewhere explicitly including it.

vimhook.bufferoutput.stdout
# implies stderr will be ignored unless further option settings say otherwise

vimhook.bufferoutput.stderr
# implies stdout will be ignored unless other option settings say otherwise.
# in this case, stdout will get its own buffer since it was specified above.

vimhook.bufferoutput
# if only this option is set, then both stdout and stderr will be dumped,
# and both will be dumped to the same buffer

I don't see this solving any huge problem. Closing.