When editing compilable code in Vim, you can use
This will run Make, then jump to the first error. Additionally you can use
:make
rather then :!make
to trigger a build.This will run Make, then jump to the first error. Additionally you can use
:cn
and :cN
to jump to the next and previous error respectively.