Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 770 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 770 Bytes

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