vim/snippets/jinja.snippets @ 41eff4423148

vim: a couple of movement mappings
author Steve Losh <steve@stevelosh.com>
date Wed, 09 Feb 2011 09:16:52 -0500
parents 85ea7f03b9be
children (none)
# Generic Tags
snippet %
	{% ${1} %}${2}
snippet {
	{{ ${1} }}${2}
snippet %%
	{% ${1:tag_name} %}
	${2}
	{% end$1 %}

snippet block
	{% block ${1:content} %}
		${2}
	{% endblock %}
snippet blocki
	{% block ${1:content} %}${2}{% endblock %}