Thank you: http://www.cnblogs.com/renrenqq/archive/2010/09/09/1813669.html
However, there are some errors, and deficiencies, the process is now recorded as follows:
Download and install Python.
Download vim from the VIM website and suggest the self-installing executable version.
Edit Vim's configuration file _VIMRC
Copy the vimrc_example inside to _VIMRC.
Remove the source inside the _VIMRC $VIMRUNTIME/vimrc_example.vim
Set up Chinese support
" set encoding automatic recognition, Chinese quotation marks display " Set Fileencodings=utf-8,cp936,big5,euc-jp,euc-kr,latin1,ucs-bom set fileencodings=utf-8, GBK set ambiwidth=double
Set ColorScheme, I chose desert, you can see the other Color scheme in Gvim's Edit-->color scheme.
" ColorSchemeColorScheme Desert
Set tab Insert space, indent, delete key Delete indent, page text width
" allow backspace key Delete and tab action Set smartindent Set Smarttab Set Expandtab Set tabstop=4 set softtabstop=4 set shiftwidth= 4 set backspace=2set textwidth=
Enable the mouse to enable line numbers
" Enable mouse set mouse=a " Enable line number set
Ctags+taglist
Usually we do not use ctags alone, generally with taglist and other plug-in use.
Download Ctags in the official website, the folder Ctags.exe in any folder, such as D:\OpenSource\Vim (note that the file path can not have spaces or Chinese characters, or taglist and other plug-ins can not find the location of Ctags.exe). It's best to put it in D:\Program files\vim\vim74so that you don't need a complicated setup behind it.
Download TagList on the official website, put Taglist.vim into the plugin folder of the installation directory, mine is D:\Program Files\vim\vim74\plugin.
With Ctags and taglist, we can easily see the functions, classes, variables, etc. contained in the file.
" TagList Let tlist_ctags_cmd='D:\Develop\vim\VIM\vim74\ctags.exe'lettlist_auto_ Open=1
Execute in VIM: tlist can open or close the TagList window
Installation Code Auto-complete tool pydiction
Download Pydiction on the official website and place the Python_pydiction.vim, Complete_dict and pydiction.py three files in D:\Program Files\vim\vim74\ftplugin. The TAB key can be used to complete the auto-completion.
" pydiction ' D:\Program files\vim\vim73\ftplugin\complete-dict ' -
Python VIM Configuration win7x64