In the vimgolf challenge Words in parens, I use
cw(ctrl-r")Esc to format "one" and then use
w. to format the next two words, but the results are three copies of the text "(one)".
I use the
:reg command to confirm the
" unnamed register content equals "three", and I found another solution that formats the text correctly: use
cw(ctrl-r ctrl-o")Esc to format "one", then use
w. to format the next two.
But I'm still confused about the vim dot command in this case: why does the dot command not act the same as typing out the command again? There must be something I have missed about the vim dot command: I hope someone can give me an explanation about this case.