I use vim on both Windows and UNIX/Linux, and found this vimrc file. http://darksmile.net/software/.vimrc.html It's pretty good and has good comments. You might want to take a look at that and customize it. Plus this is great: http://www.usf.uni-osnabrueck.de/infoservice/doc/localhtml/vim/if_python.html