next up previous contents
Next: Shifting Lines Horizontally Left Up: Guide to VI and Previous: Replace and Change Text

Repeating a Text Change Operation

The dot command is a very useful vi feature that enables repeated commands with or without repeat count.


. repeat the last operation of text change
n. repeat the last operation n times


The dot command can be used after delete, replace, change, yank/put or any other command that changes or deletes text.



Marisa Luvisetto
2000-12-20