sponsor Vim development Vim logo Vim Book Ad

timestamp : Add a timestamp to your source file

 script karma  Rating 40/12, Downloaded by 1059  Comments, bugs, improvements  Vim wiki

created by
Peng Du
 
script type
utility
 
description
This SCRIPT will add/update the timestamp when you close the source file.
C++, C, Java, Makefile, rb, py, vim script is supported.
 
install details
copy it to [plugin path].
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
timestamp.vim 1.1 2008-11-10 7.0 Peng Du It's a script to insert a "Last Change" comment field in your source file.
You can modify the default behavior of this plug-in.
To add the support of new file type
put this to your vimrc
au BufWritePre *.cpp        call TimeStamp('//')
if the comment block in that language has both the begin and end symbol,
just enjoy this
au BufWritePre *.php          call TimeStamp('<?php //', '?>')
timestamp.vim 1.0 2008-02-19 7.0 Peng Du Initial upload
ip used for rating: 3.19.27.178

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github