vim and tabs in Python code

William Park parkw at better.net
Fri Jan 28 11:34:01 EST 2000


On Fri, Jan 28, 2000 at 03:20:06PM +0000, super_banane at yahoo.com wrote:
> <blank><blank><blank><blank>FirstLineOfCode
> <one 4-blank tabulation>SecondLineOfCode

You can convert your file using, in this case,
    :retab! 4
You can automates using 
    :au BufRead *.py retab! 4

See ':help retab'.

William




More information about the Python-list mailing list