When I repeatedly inserting at the beginning of a line it is problematic because the cursor ends up in the middle of the line so I have to move back to the beginning of the line each time. So, for example, if I am commenting lines then might do something like i##_<ESC>
to comment the line, then I have to do j^
to get back to the beginning of the next line before pressing dot to do a repeat.
Is there any way to simplify this? In particular I don't like having to type the hat to get to the beginnning of the line.
<c-v>
at the start of the first line, select till the last line, thenI## <esc>
.^
key is too far,0
will also move to the beginning of the line.