I have mapped my make and setup my quickfix window to work with it. However whenever I execute make, I have to wait till it finishes. Is there a way in Vim to execute make, see make target execution as if it is being executed in a shell, capture the output, and then navigate this output?
Any help is appreciated.
Not directly, but you can call arbitrary Vim functions with --remote-expr
>
> The easiest "solution" is to run your make command in a different
>
> Vim instance.
>
>
>
> Another approach is to run make in the background and send its
>
> output to file. Then, when that make is done, you can use :cfile
>
> command to open that file in a quickfix window.
>
>
Yes, I'd suggest this approach. But you don't need to do the :cfile manually.
http://vim.wikia.com/wiki/Execute_external_programs_asynchronously_under_Windows gives a method on Windows for async grep commands. The idea would be the same for "make" commands.
You shell out to start a command in a background process that will do the compile, AND when that compile is done will use --remote-expr to tell Vim to load a file with :cfile.
There are also some plugins out there to simplify the task I think.
Note, the quickfix window will not update dynamically as the compile happens. But it will allow you to keep using Vim while it is going on.