" myfiletypes - custom filetype mapping augroup filetype au! BufNewFile,BufReadPost *.inc set filetype=php au! BufNewFile,BufReadPost *.xhtml set filetype=xml au! BufNewFile,BufReadPost *.html set filetype=html au! BufNewFile,BufReadPost named.conf* set filetype=named au! BufNewFile,BufReadPost /etc/apache/vhost/* set filetype=apache au! BufNewFile,BufReadPost apache.conf set filetype=apache au! BufNewFile,BufReadPost /etc/bind/db.* set filetype=dns au! BufNewFile,BufReadPost konversation/*.* set sts=2 sw=2 au! BufNewFile,BufReadPost *.vpy set filetype=python au! BufNewFile,BufReadPost *.cpy set filetype=python au! BufNewFile,BufReadPost *.cpt set filetype=xml au! BufNewFile,BufReadPost *.css.dtml set filetype=css augroup END au FileType html set softtabstop=2 shiftwidth=2 au FileType xhtml set softtabstop=2 shiftwidth=2 au FileType xml set softtabstop=2 shiftwidth=2 au FileType xslt set softtabstop=2 shiftwidth=2 au FileType python set softtabstop=4 shiftwidth=4 expandtab