templates.vim
I finally packaged up my templates.vim script for public consumption. It lets you use filetype-dependent templates for new files in Vim, using a simple but effective mechanism.
This script also marks an attempt to refactor the Vim script distribution process: I created a self-extractor vim script stub that unwraps the archive when sourced. It may not yet work well on Windows (creating directories is not implemented, in particular), but I will fix that soon. I plan to write and release another script that creates such archives in the near future. Look for it here and on vim.org. In the meantime, you can probably figure out how it works by looking at the source – it’s really quite unremarkable.