I have the following:
with the block cursor over the semicolon, what is the easiest way to delete that and end up with the cursor where the first
dd for deleting the line is out, I guess
ciw would only delete the
(); part of the line, or I could press
v to highlight go to the beginning of the line using
^ and then pressing
d to delete the highlighted part, then into insert mode and then to tab in to the right indent.
It is quite a lot of keys which I don't particularly mind, but I am not sure whether I am thinking in a Vim like manner...
Any suggestions / eye openers / mind openers would be really useful and appreciated.