I\'m trying to get Python support in gVim on Windows. Is there a way to accomplish that?
I\'m using:
You will want to turn on syntax highlighting
put syntax on in your in your vimrc (the format of the vimrc file will be the same on linux/windows or any other OS)
Vim also supports autoindenting, if you want to enable auto indenting for python, have look at this guide here
The key to enable autoindenting is to include the following in vimrc
autocmd BufRead,BufNewFile *.py syntax on
autocmd BufRead,BufNewFile *.py set ai
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,with,try,except,finally,def,class