Tip: #69 - Dot makes life easier
Created: May 30, 2001 3:13 Complexity: basic Author: Erhan Version: 5.7 Karma: 57/33 Imported from: Tip#69
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 echos them if you hit the dot key.
You must be in command mode as usual.
It can be helpful...
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.
erhan--AT--aybim.com.tr , May 30, 2001 23:22
duh.
Anonymous , June 4, 2001 13:23
You can insert last change with C-A in Insert mode too.
Anonymous , September 10, 2001 1:11