vim/bundle/django-custom/ftplugin/htmldjango/surround.vim @ a85e3b4342d7
More.
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 22 Feb 2011 12:00:18 -0500 |
parents |
de8edd7538a2 |
children |
888172aa4c57 |
let g:surround_{char2nr("b")} = "{% block\1 \r..*\r &\1 %}\r{% endblock %}"
let g:surround_{char2nr("i")} = "{% if\1 \r..*\r &\1 %}\r{% endif %}"
let g:surround_{char2nr("w")} = "{% with\1 \r..*\r &\1 %}\r{% endwith %}"
let g:surround_{char2nr("c")} = "{% comment\1 \r..*\r &\1 %}\r{% endcomment %}"
let g:surround_{char2nr("f")} = "{% for\1 \r..*\r &\1 %}\r{% endfor %}"