Vim Tips Wiki
Register
Advertisement

Duplicate tip

This tip is very similar to the following:

These tips need to be merged – see the merge guidelines.

Tip 518 Printable Monobook Previous Next

created 2003 · complexity basic · 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

References[]

Comments[]

Advertisement