I think my question is related to this question, but I not sure how to make it work for what I want to do.
In my vimrc I have a this function:
func! AutoGo()
exec "w"
exec "!auto-go"
endfunc
I want to open a new split window in vim of the output of my exec "!auto-go" command. Something like this:
func! AutoGo()
exec "w"
output = exec "!auto-go"
vsplit output
endfunc
I also found this resource, but I can't get it to work. How can I achieve this?