Originally posted by sid
a.) YES, there are tabs. it just makes it a lot easier to indent. once i am finished with a project i tend to let a multiple-file text replacer run over it and replace tabs with 4 spaces each.
A handy little BASH script I use.
for file in $(find . -regex ".*\.php")
do
sed "s/[a tab]/[4 spaces]/g" $file > buff
mv buff $file
done
obviously, replace [a tab] with a tab and [4 spaces] with four spaces.
However I haven't needed to use this much since I added this little piece to my .vimrc
map <F10> : %s/\t/ /g<CR>
all I have to do know is whack F10 and all the tabs are magically transformed into four spaces 😃
HTH someone
Bubble