How can I paste the last string of text that I entered when I was in insert mode? I think I've done this before on accident but I can't recall how.
I believe the command you're looking for is simply
. (period/full stop key). It's a normal mode command, so simply press the key in normal mode.
.in normal mode will repeat the last change. If you want to paste the last inserted text it can be found in the
".pIn insert mode to insert the last inserted text use
<c-a>Sep 26, 2011 at 14:13
Sorry - but what is
<c-a>because CTRL-a didn't work for me ... Jun 20, 2014 at 6:10