osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Vim settings for Python (was: tab replace to space 4)


> On Dec 7, 2019, at 4:16 AM, Peter J. Holzer <hjp-python at hjp.at> wrote:
> 
> As an aside, to prevent vim from inserting tabs in the first place, set
>    expandtab
>    sw=4
> and maybe also
>    ts=4
> (The latter is very much a matter of taste. I don't unless I have to
> edit code which already contains tabs intended to be at a certain width.)

I?m not the OP, but I do appreciate this info.  Thanks!
Bev in TX