# HG changeset patch # User Steve Losh # Date 1302186595 14400 # Node ID 84cf4095d2b21145e2a97b4ed5f0095cd0713896 # Parent c3129613e34ac8efef5682f9a121155c08afb370 vim: and Django variables too diff -r c3129613e34a -r 84cf4095d2b2 vim/.vimrc --- a/vim/.vimrc Thu Apr 07 10:27:09 2011 -0400 +++ b/vim/.vimrc Thu Apr 07 10:29:55 2011 -0400 @@ -273,7 +273,10 @@ au BufNewFile,BufRead *.html imap . " Django tags -au Filetype html inoremap {%%} +au Filetype htmldjango inoremap {%%} + +" Django variables +au Filetype htmldjango inoremap {{}} " }}} " CSS and LessCSS {{{