When such file-name/line number pairs are the result of compiling code, the following commands are also useful: :help :cn :help :cl :help :cfile The file:line plugin allows you to use combinations of file name and line number, like global.h:123, as an argument to Vim. When you open file:line, the script checks if file exists and line is a number. If so, Vim opens file at the correct line line numb