Using Vim and Snipmate with Django

Not long ago I found the SnipMate plugin for Vim, which implements some of TextMate's snippets features in Vim. A snippet is a piece of often-typed text that you can insert into your document using a trigger word followed by a tab.

I didn't find any Django snippets for SnipMate so I started my own, hosted on GitHub, snipmate_for_django. Feel free to suggest new snippets, or send me pull requests on your forks.

Around the same time I heard about Screenr, the web-based screencasting tool, and decided to try out showing off SnipMate (and NERDTree for those that haven't seen it) by recreating the Django tutorial.

It's a little slow at times, but it does show SnipMate with models.py, admin.py, views.py, and templates. Toggle full screen to see it in more detail.

About this entry

Date Posted:
September 20th 2009 at 8:09:52 AM

Tagged:
django, nerdtree, snipmate, vim

Previous Entry:
DjangoCon 2009 Day 3

Next Entry:
2009 Python Meme