Does anyone know if there is a way to access the name of the current file in vi? I want to build a small template generator using macros, but I have not been able to find this information in the documentation. Thanks in advance