Vim notes

Scripts

  • UpdateModDate.vim is a vim script I have written for updating the date-stamp of these pages automatically every time I save the files from within vim.

It searches for lines marked with %DATE_TAG% and updates the date on these lines every time the file is saved. Example:

Last Modified: Tue Jun  2 04:44:58 UTC 2004     // %DATE_TAG%

Bugs

  • I've hit a bug in vim related to html highlighting that would cause get really really slow. This has already been fixed though. The interested might look at the detailed description.
published July 13, 2006
tags vim

Comments