Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Provides a bunch of autocomplete snippets for Vim using snipMate.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

I'm beginning to see the light: Vim is awesome.

However, there is nothing for Vim that matches the PHP Drupal bundle for Textmate, what with the autocompletion and snippet goodness. So here will be an ongoing attempt to recreate that in Vim using the snipMate plugin.


These snippets require the snipMate plugin for Vim. Once you get that up and running, just put the 'drupal' directory in your ~/.vim/snippets (or wherever you install your Vim scripts to).

For the snippets to work, the filetype needs to specify drupal.

You may want to use the Drupal Plugin for Vim which will do this for you, or, in your .vimrc file, add the line:

:set filetype=drupal.php
Something went wrong with that request. Please try again.