I just learned about the shortcuts that allow you to manipulate ranges, e.g.
:+5,+10co. to copy after the current line.
I wondered if there is a way to copy and move at the start of the current line?
Currently I have to move the cursor at the end of the preceding line in order to attain the desired result.
To illustrate, given the following file, with the cursor being at line 5:
3 A 4 B → 5 6 C 7 D
Applying a copy via
:+1,+2co. results in the undesired empty line at line 5:
3 A 4 B 5 6 C → 7 D 8 C 9 D
Is there a way to copy at the start of the current line or is one limited to perform this command at the end of the preceding line?