Skip to content
This repository

HTTPS clone URL

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 snippets
Octocat-spinner-32 README.md
README.md

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.

Configuration

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.