Preamble Vim plugin by Mel Davis with a couple of fixes