Project local vimrc

I recently began freelancing again, which means working on many different projects. Diverse projects bring diverse needs with respect to vim configuration. For example commands to fire off tests can vary based on testing framework or file system layout.

Continue reading »

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 »