I know that I can replace characters in a linespan via something to the effect of :300,305s/foo/bar/g
But when I'm deep in the code, and I know that I just want to replace in the next five lines, I'm wasting both keystrokes and time looking up the line numbers by setting absolute line numbers.
Is there a way to perform a substitute based on a relative linespan, something to the effect of (trigger warning: pseudo-vim) :+5s/foo/bar/g
?