zarchive-vim-fsharp icon indicating copy to clipboard operation
zarchive-vim-fsharp copied to clipboard

Running `:make` from vim in a terminal dumps to bash while waiting for xbuild

Open allykzam opened this issue 10 years ago • 3 comments

Runs xbuild fine, shows any issues, and then stops with Press ENTER or type command to continue; pressing enter brings vim back up. Would be nice if xbuild could be run in the background, with its results opened in either a new tab or window after it finishes. cc/ @kjnilsson

allykzam avatar Jun 04 '15 19:06 allykzam

You could try using this plugin: https://github.com/tpope/vim-dispatch

simonhdickson avatar Jun 07 '15 08:06 simonhdickson

That did get brought up, @kjnilsson asked if I could post this here anyway because it looks like vim's system() function runs things in the background as desired. Don't know if he got anywhere with it.

allykzam avatar Jun 07 '15 13:06 allykzam

I haven't had a chance to look at it yet however I tried vim-dispatch and it works great - it's a keeper for me. It doesn't show you all the command output (not sure if there are any options for this) but given errors and warnings are added to the quickfix I am not sure why it is required. Perhaps I am missing something here. :)

kjnilsson avatar Jun 07 '15 20:06 kjnilsson