I'm trying to select specific lines without too much cursor movement - ranages to the rescue! But, let's assume I'm working on line 15370 (legacy codebase :() and want to delete lines 15355 and the tree following lines. I could
:15355,15358d or to save some typing
:15355;+3d but both will move the cursor. Actually, the
; will even move the cursor if I'm only yanking instead of deleting those now.
How could I specify a relative line number as the second argument of a range without moving the cursor? Is there something like a back reference in regular expressions for ranges?