Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Django snippets for SnipMate, the excellent Vim plugin
Branch: master
Pull request Compare This branch is 6 commits ahead of robhudson:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
snippets
README

README

Installation
============

Install SnipMate:
http://www.vim.org/scripts/script.php?script_id=2540

Copy `django.snippets` and `django_template.snippets` to your snippets
directory, typically at ~/.vim/snippets.

Activate the snippets by using the filetype setting.  For example:

	:set ft=python.django

For Django templates:

	:set ft=htmldjango.html

To set these automatically each time you run vim, add the following lines to
your .vimrc:

	autocmd FileType python set ft=python.django " For SnipMate
	autocmd FileType html set ft=htmldjango.html " For SnipMate

Enjoy!
Something went wrong with that request. Please try again.