Commits

sirex committed 5a4aa25

Changes from Bliu Bliu office computer.

Comments (0)

Files changed (2)

+--type-set=html=.html,.jinja,.txt,.hbs
+--type-set=js=.js,.coffee
 --type-set=rest=.rst
 --type-set=zope=.zcml
 --type-set=less=.less
 --ignore-dir=tests
 --ignore-dir=var
 --ignore-dir=migrations
+--ignore-dir=CACHE
         au FileType less    setl shiftwidth=2
 
         " HTML
-        au FileType html    setl softtabstop=2
-        au FileType html    setl shiftwidth=2
+        au FileType html    setl softtabstop=4
+        au FileType html    setl shiftwidth=4
         au FileType html    setl foldmethod=indent
         au FileType html    setl foldnestmax=5
-        au FileType htmldjango setl softtabstop=2
-        au FileType htmldjango setl shiftwidth=2
+        au FileType htmldjango setl softtabstop=4
+        au FileType htmldjango setl shiftwidth=4
         au FileType htmldjango setl foldmethod=indent
         au FileType htmldjango setl foldnestmax=5
 
         " XML
-        au FileType xml     setl softtabstop=2
-        au FileType xml     setl shiftwidth=2
+        au FileType xml     setl softtabstop=4
+        au FileType xml     setl shiftwidth=4
 
         " Mercurial
         au BufRead,BufNewFile *.mercurial  setl spell
         au FileType mail setl formatoptions=tcroqn
         au FileType mail setl textwidth=72
 
+        " Jinja
+        autocmd BufRead,BufNewFile *.jinja setl ft=htmldjango.jinja
+
         " autocmd BufRead,BufNewFile *.cfg set ft=cisco
     endif
 endif
 
 " plugin: nerdtree vim http://www.vim.org/scripts/script.php?script_id=1658
 let g:NERDTreeQuitOnOpen = 0
+let g:NERDTreeWinPos = "right"
 
 " plugin: vim-less git git://github.com/groenewege/vim-less.git
 
 
 " plugin: sparql git git://github.com/vim-scripts/sparql.vim.git
 
+" plugin: jinja git git://github.com/Glench/Vim-Jinja2-Syntax.git
+
+" plugin: handlebars git git://github.com/nono/vim-handlebars.git
+
 function! QuickFixBookmark()
   let bookmarks_file = expand("~/.vim/bookmarks.txt")
   let item  = "  File \"".expand("%")."\", line ".line('.').", in unknown\n"