Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|improve this answer
. 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> – Peter Rincker Sep 26 '11 at 14:13
Sorry - but what is <c-a> because CTRL-a didn't work for me ... – Felipe Alvarez Jun 20 '14 at 6:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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