sanguis / drupal-snippets

Vim snippets for Drupal 7
2 stars 0 forks source link

Vim snippets for Drupal 7

Pathogen install:

Clone the repo in to the ~/.vim/bundle directory.

$ cd ~/.vim/bundle
$ git clone git://github.com/technosophos/drupal-snippets.git

Vundle install:

Add the following to .vimrc:

Bundle 'sanguis/drupal-snippets'

Then run :BundleInstall

USAGE

This package providers hundreds of Drupal snippets.

Starters

To start a new *.module file, open the empty file and type newmod. This will create the necessary module structure.

Similarly, other files can be scaffolded:

Hooks:

All core Drupal 7 hook are provided in this package.

FAPI and Other Structures

Utilities:

Documentation

Basic documentation is present in the doc/ folder.