Misuse of <tab>

Asun Friere afriere at yahoo.co.uk
Thu Jul 31 22:34:30 EDT 2003


ansible at typhoon.xnet.com (James Graves) wrote in message news:<bgbqmu$ksv$1 at flood.xnet.com>...

> That's handy.  I had known about 'set expandtab' for a while, but I
> wanted to figure out how to use it for just Python.

Note how Keith Jones, in the following post, achieves the same:

au FileType python set et

I wasn't aware of the 'FileType' setting, but it has the advantage of
working with files which vim recognises as python source, but which
don't necessarily end in 'py'.  Nice!




More information about the Python-list mailing list