##vim
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
##vim via html file
<!-- vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab: -->
note: putting it before DOCTYPE will cause problems with IE (quirks mode)
##vim via other files
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab:
etc.