I\'ve been using Vim for a while, and I can\'t get proper HTML indentation working in PHP files.
For example, what I want is for each child to be indented one tab mo
inside your .vimrc:
:function IndentPHPHTML() : set ft=html : normal gg=G : set ft=php :endfunction
use ctrl-shift-L (or whatever) to indent
nnoremap :call IndentPHPHTML()