set tab width for html/javascript files and put swap files in tmp dir