22Oct/091
VIM tab configuration for Django HTML templates
This tiny trick allows you to set tabs (and anything else of course) for Django template filetype. VIM has build-in filetype named "htmldjango", which does all the magic shown in the example configuration below.
An example .vimrc configuration file uses the "autocmd" VIM command, whis must be available in your installation.
-
if has("autocmd")
-
autocmd FileType htmldjango set tabstop=4|set shiftwidth=4|set expandtab
-
endif

November 3rd, 2009 - 01:53
Hello from Russia!
Can I quote a post “No teme” in your blog with the link to you?