vim/bundle/django-custom/ftplugin/htmldjango/surround.vim @ 1af7dc6e1a4a

Switch aliases to functions in fish because alias is now slow as balls.
author Steve Losh <steve@stevelosh.com>
date Thu, 24 Jan 2013 12:23:21 -0500
parents 888172aa4c57
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 %}"