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

Bill Campbell bill at celestial.net
Sat Dec 7 14:59:31 EST 2019


On Sat, Dec 07, 2019, Peter J. Holzer wrote:
>As an aside, to prevent vim from inserting tabs in the first place, set
> expandtab
> sw=4
>and maybe also
> ts=4

Inserting a comment in the file like this makes thing easy.
# vim: expandtab sw=4 ts=4 nows wm=0
Bill
-- 
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www2.celestial.com/ 6641 E. Mercer Way
Mobile: (206) 947-5591 PO Box 820
Fax: (206) 232-9186 Mercer Island, WA 98040-0820
Political language... is designed to make lies sound truthful and
murder respectable, and to give an appearance of solidity to pure
wind. -- George Orwell


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /