Sometimes when a background process in Vim runs (in my case, compiling a poorly written LaTeX document) the background process stops which makes Vim unresponsive.
Terminating the process from terminal solves the problem but is cumbersome to execute. Ctrl c does not seem to work.
How should the background process be aborted?
Preferably, the process should be terminated but a solution that just unfreezes Vim is fine.
My current command is:
:silent exec "!make"<CR>
A solution is to add a make vim
in the makefile that ignores the errors but it would be nice to be able to force quit the process.
synchronous
solution (Vim waiting the compiler) or could you consider anasynchronous
solution (Vim not waiting, the compiler working on the background).