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

Bev In TX countryone77 at gmail.com
Sat Dec 7 05:34:57 EST 2019


> 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


More information about the Python-list mailing list