vim/ftplugin/htmldjango/surround.vim @ 8341feacc8f9
vim: I hate vimballs THIS much
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 10 Dec 2010 09:42:18 -0500 |
parents |
cdc196e91cd2 |
children |
(none) |
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 %}"