Skip to content

Commit 74531b0

Browse files
committed
Update README
1 parent b18c00c commit 74531b0

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

README

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,25 @@
22
* Vim snippets for Drupal 7
33
*/
44

5-
- REQUIRED: snipMate for vim: http://www.vim.org/scripts/script.php?script_id=2540
6-
- Included: All 330+ Drupal 7 hooks
7-
- Missing: Other functions
5+
REQUIRED
6+
7+
pathogen https://github.com/tpope/vim-pathogen
8+
snipMate fork made by garbas https://github.com/garbas/vim-snipmate
9+
10+
INSTALL
11+
12+
clone repo in to the ~/.vim/bundle directory
13+
14+
cd ~/.vim/bundle
15+
git clone git://github.com/tanarurkerem/drupal-snippets.git
16+
17+
USAGE
818

9-
- Replace the php.snippets file in the ~/.vim/snippets directory with the one included.
1019
- Type hook_HOOKNAME<tab> for annotated snippets, and h_HOOKNAME<tab> for the non-annotated versions.
1120
- Most snippets include multiple <tab> placemarks.
1221

22+
INFO
23+
24+
- Included: All 330+ Drupal 7 hooks
25+
- Missing: Other functions
26+

0 commit comments

Comments
 (0)