Rafal Maj wrote:
A.J.Mechelynck wrote:
:map <F9> :wall <Bar> !clear ; make && make run
Method II: intermixing internal and external commands
:map <F9> :wall <Bar> exe "!clear" <Bar> exe "make" <Bar> !make run
Note: Method II does not intercept the return status from the first make.
Method III (untested) try to fool bash
:map <F9> :wall <bar> exe "!clear" <Bar> make && make run
Hmm no, I ment to do following:
1. execute vim's command: make
if the return code is zero (ok) then
2. execute vim's command: !make run
I don't know how to get the return status from the external make invoked by
internal ":make".
Please use "Reply to List" or "Reply to All" (whichever is available on your
mailer) in preference to "Reply to Sender".
Best regards,
Tony.
--
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
-- Dave Parnas