Show relative line numbers

Many operations in Vim can be executed over a given number of lines. For example, d3j will delete the current line, plus the 3 below it. You may find yourself reading the line numbers and then subtracting two numbers in your head to decide how many lines to execute a command over. But there is a better way.

Continue reading »