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.

1 Answer 1


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.

  • 3
    . in normal mode will repeat the last change. If you want to paste the last inserted text it can be found in the . register. e.g. ".p In 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.