Can someone educate me on how macros can be created in vi, the editor? I am looking for simple things like inserting templates (e.g, \begin{document} ,, \end{document}) when I use a single macro. Thanks. Ravi :-) (-: Yeh tere baap ka Oldsmobile nahin! Tr : This is not your father's Oldsmobile :-) (-: