snippet if "If block" i {% if ${1:condition} %} $0 {% endif %} endsnippet snippet else "Else" {% else %} endsnippet snippet for "For loop" {% for ${1:variable} in ${2:set} %} $0 {% endfor %} endsnippet snippet static "Django static route" i {% static '$0' %} endsnippet snippet url "Django URL resolver" i {% url '$0' %} endsnippet snippet load "Load a template tag" i {% load ${0:module} %} endsnippet snippet csrf "Django CSRF token" {% csrf_token %}$0 endsnippet snippet spaceless "Remove spaces (uses visual)" {% spaceless %} ${0:${VISUAL}} {% endspaceless %} endsnippet snippet comment "Make code a comment" {% comment %} ${0:${VISUAL}} {% endcomment %} endsnippet