Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Anybody have a good .vimrc file for Python, or thoughts on customizing vim for Python?


Use the indentation script pointed to and explained by this article: http://henry.precheur.org/2008/4/18/Indenting_Python_with_VI...

It is better than the default vim python autoindentation behavior.


Actually, I think vim comes with pretty good Python support by default. I'm using vim 7.1 and there's, for example, a good python.vim syntax file that came with.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: