If you're new to
vi or, more specifically, to
vim and you're trying to learn how to create
macros, it can be very
frustrating trying to find a reference to macro
programming in the documentation. Logically you might expect the command
:help macros to work but in fact :help
source is the key to it all.
This took me ages to find so I hope it helps somebody.