# HG changeset patch # User Steve Losh # Date 1302187196 14400 # Node ID 005c0e414e9f01e2c183030e2b0849f6c174a36f # Parent 84cf4095d2b21145e2a97b4ed5f0095cd0713896 vim: fix Django mappings diff -r 84cf4095d2b2 -r 005c0e414e9f vim/.vimrc --- a/vim/.vimrc Thu Apr 07 10:29:55 2011 -0400 +++ b/vim/.vimrc Thu Apr 07 10:39:56 2011 -0400 @@ -273,10 +273,12 @@ au BufNewFile,BufRead *.html imap . " Django tags -au Filetype htmldjango inoremap {%%} +au FileType jinja,htmldjango inoremap {%%} " Django variables -au Filetype htmldjango inoremap {{}} +au FileType jinja,htmldjango inoremap {{}} +iunmap + " }}} " CSS and LessCSS {{{