You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 619B


This script allows you to indent HTML sections in PHP files

This is just a plugin wrapper around Christian J. Robinson’s “Better indent support for php with html” script from the Vim Wiki.

Many thanks to Mr. Robinson. Indenting html within php view files had been my main pain point with Vim until I discovered this script.


  • Vundle - Add the following line to your .vimrc: Bundle 'captbaritone/better-indent-support-for-php-with-html'