Spaces and tabs messing up code

Robert Hicks sigzero at gmail.com
Tue Jan 8 21:46:44 EST 2008


mobiledreamers at gmail.com wrote:
> my friend uses vim
> and i use xemacs
> so our shared python code is a mix of tabs and spaces and it is hard for 
> him to edit it in vim
>  
> any idea on how to make it clean
> convert it all to 4 spaces?
>  
> Thanks
> 

:set ts=4
:retab!

:h retab




More information about the Python-list mailing list