VIM and tab to space migration

Brian Quinlan brian at sweetapp.com
Wed May 5 14:30:47 EDT 2004


Christophe Cavalaria wrote:

> Try adding that line at the end of each modified file :
> 
> # vim:sw=4:softtabstop=4:expandtab
> 
> It tells vim all the commands it should automatically run when it opens the
> file and it should get you the correct behaviour for 4 spaces no tab
> indentation.

Thanks for the suggestion but modifying all my files is a pretty ugly 
solution. Not that I'm above using it if there is no better way :-)

Cheers,
Brian





More information about the Python-list mailing list