Maybe you know the situation, when inserting something in a file and vi is messing up the pasted context with tabulators.
:set paste
yy copyy[Anzahl Zeilen]ypPddd[Anzahl Zeilen]duU:q:q!:wq/string?stringnNESCIAiar[String]Rcw[String]c$[String]v