DEV Community

Discussion on: Introduction to Vim

Collapse
 
ferricoxide profile image
Thomas H Jones II

Oop. Sorry, I wasn't clear on the '.': that repeats the last command you issued that modified something. That is, if you'd done 2dd to delete two lines, hitting '.' would delete a further two lines. If you try to use it to repeat a search, bad things can happen (depending on what modifying-actions might be in you action-history).