sponsor Vim development Vim logo Vim Book Ad

Last Modified : Changes the Last modified date of a file

 script karma  Rating 9/9, Downloaded by 1102  Comments, bugs, improvements  Vim wiki

created by
Sudipta Ghorui
 
script type
utility
 
description
It changes the Last modified date automatically without changing the format of the time you use
Here i added some extra features ----
   1> It checks the time format in the file you are working on and the format given in the plugin. If both are same, it changes the time, other wise it shows you a warning.
   2> It does not change any other thing in the file.

 
install details
simply copy the file lastModifed.vim in the ..../Vim/vimfiles/plugin and Please change the following things if necessary
    a> Change the variable 's:timeStampLeader' to the string which you use in your code (by default which is "Last Modified")
    b> Change the variable 'timeStampFormat'. Put an example of the time format you want.
    c> Change the variable 'timeStampString'. Change it to get the proper time stamp. Read the comments in the file to change the variable.
 

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
lastModified.vim 1.2 2007-05-04 7.0 Sudipta Ghorui Tested in FC 2 and in C and CPP files
last_modified.vim 1.0 2005-12-05 6.0 Sudipta Ghorui nothing extra
ip used for rating: 3.15.10.137

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