Linux Scripting the Vim editor with Vmscript Tutorial
  Tutorials > Linux > Editing Files