Continuous background compilation within vim

You can do continuous background compilation within vim. The following code snippet will compile your project with make each time you save the current buffer:

augroup c++
    autocmd BufWritePost *.{hpp,cpp}
                \ silent execute ":!make > ~/.vim/cpperrors 2>&1 &" |
                \ redraw! |
                \ cgetfile ~/.vim/cpperrors
augroup END

Of course you could replace the make command with something more complicated (for example calling some script that would run the compilation on another machine, and getting the error file back in your ~/.vim directory).

Comments !