scripts in vi

Página Principal
Anexos:
Mensagem como email
+ (text/plain)
Apagar esta mensagem
Responder a esta mensagem
Autor: Greg
Data:  
Assunto: scripts in vi
I would like to know how to execute scripts in vi.
Can someone help me with this?

For example a script that would insert a date into a document.

Greg