Vim Tips Wiki
Advertisement
Tip 69 Printable Monobook Previous Next

created May 30, 2001 · complexity basic · author Erhan · version 5.7


You can copy and paste the last changes you made in the last insert mode without using y and p by pressing . (just dot).

Vim memorizes the keys you pressed and echoes them if you hit the dot key.

Comments

You can also repeat the last command you write by pressing dot. So, it makes it easier to repeat 2-3 character long commands.


Advertisement