Given the word foo
in a text, if I type ciwbar<ESC>
while recording it as a macro in w
register and then type in the command line
:<C-r>w
it will brings me :ciwbar^[
However if i type :<C-r>.
it will only brings me bar
But both commands, the @w
and dot
, are able to perform the change inner word bar in other parts of my text
Is there any way to get all the content from the dot as I got the w
register? I would like to paste it and work to automate the last command in macros in some steps forward
@.
. But it is only a small part of the power of.
– Charles Gueunet Jul 24 '18 at 8:59