I want vim to run makeprg
with two commands, namely: cd\ cmt;make;
but when I do so, it get stuck on the make command.
To clarify, when I mean get stuck, I mean that it ends compilation but it doesn't return to vim
, I need to strike C-c to cancel compilation, but it also breaks the compilation log interpretation from the compiler, and I can't get the cwin
with the compilation errors interpreted.
Any ideas?
cd\ cmt\ &&\ make
?&&
instead.make
in an arbitrary directory using-C
option. In your case this would be:make -Ccmt
.