Using VIM, it is easy to display line numbers for any file: : Set number However, line numbering is 1-indexed, this means that the number starts with 1. Generally this is what I want, but my code reports zero-indexed line numbers - that is, a special tool I am using to compile - that line line starts with zero. How can I change the line numbering of Vim so that the numbers in the buffer can be matched by the errors given by viewing the device, and in addition to a particular number jump matches the device. That is, if the tool tells me that there is an error on line 98, then I want to jump from that line by typing "98G", not "97G", and this line Really have 97) want to display "98" in the line number list. Edit: While I can filter the output of tools, while quite easy it is not a trivial tas because the tool also outputs the hex values corresponding to each line It has the same zero-indexed form, and it is output in informative messages...