When you make a change, like i
fooESC to insert the text
foo, this can, of course, be repeated using ..
However, if you quit Vim, in spite of Vim saving all sorts of state, including the contents of registers and per-file editing position and the
: command history, this last edit seems to be lost. When you fire up Vim again, you cannot repeat the command.
Is there some trick to get that persisted into
.viminfo, so we can type i
fooESC, then quit with :q!, up Vim again, and repeat the insert of
foo with .?