After running :make, the quickfix window displays the compile command and other stdout messages from the makefile, but it doesn't display any errors. Everything but stderr messages are displaying. How do I enable stderr messages?

2 Answers 2


You have to add this to your vimrc:

set shellpipe=2>

...to enable stderr output in the quickfix window.


To collect only stderr, use:

set shellpipe=2>

To collect both stderr and stdout:

set shellpipe=>%s\ 2>&1

Or, to collect both and watch builds as they proceed:

set shellpipe=2>&1\ \|\ tee

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.