On Thu, Sep 18, 2003 at 11:13:13AM +1000, Andrew Bennetts wrote:
> > I have a problem trying to make my commenting script easier.  I have
> > worked out how to add the date automatically to the auto header I
> > created. but I need the current filename.
> > imap ,vvi .filename.cpp..<c-r>=strftime("%d/%m/%y")<cr>
> > I want to put the filename of the current buffer into the starting
> > comment block automatically.  how? 
> By putting $Id$ in your source, and letting CVS fill it in for you ;)

And what if you're not using CVS?

-- 
Mark
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to