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
In your ~/.vimrc file:
~/.vimrc
set expandtab set sw=4 set ts=4
The expandtab option will convert tabs to spaces, the sw option sets your shift width to 4 and the ts sets tab stop to 4 spacs.
expandtab
sw
ts