scripts in vi

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Greg
Data:  
Asunto: 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