Tip 518 Printable Monobook Previous Next
created July 25, 2003 · complexity basic · author Anon · version 5.7
Vim's errorformat option can be combined with the :make command to reduce development time (this is part of Vim's 'quickfix' capability). This option allows Vim to parse the output of a compiler in order to bring up a list of errors and warnings that you can jump to. But, Vim will not be able to parse the output of every compiler by default, so you need to tell it how.
This is an errorformat for the Intel icc7 compiler:
set errorformat=%E%f(%l):\ %m,%-C,%-C%p,%Z