lastchange : Auto write last change time
script karma |
Rating 4/1,
Downloaded by 647 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
kangzhi shi |
|
script type |
utility |
|
description |
example:
before script run:
/*
* Filename: example.h
* Create: 2008-8-8, 00:00:00
* Last Change:
*/
after script run:
/*
* Filename: example.h
* Create: 2008-8-8, 00:00:00
* Last Change: 2008-8-8, 11:11:11
*/
g:lastChangeName: default is 'Last Change:'
script will search this and put now time behind this.
g:lastChangeSearchStart: default is 1
search range.
g:lastChangeSearchEnd: default is 5
search range.
g:lastChangeAutoWrite: default is 0 (false)
if this is true(1),script will run when you are saving and file is matching of g:lastChangeAutoWriteFile.
g:lastChangeAutoWriteFile: default is '*.c,*.C,*.cpp,*.cxx,*.h,*.hpp,*.hxx,*.java,*.py' |
|
install details |
copy to the $VIMFILES/plugin directory. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.219.189.247
|