Windows GVIM8 configuration to the Python IDE is probably divided into the following four steps, each introduction is very detailed, take a look at it.
1. Preparatory work
Download the following installation package or file.
1) Python 2.7 Http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi
2) gvim8.0 http://www.vim.org/download.php
3) Exuberant Ctags http://ctags.sourceforge.net/
4) TagList http://www.vim.org/scripts/script.php?script_id=273
5) Pydiction http://www.vim.org/scripts/script.php?script_id=850
2. Installation
1 Install Python2.7, I install to D:\Program files\python27, add this path to environment variable;
2 Install Gvim, I install to D:\Program files (x86) \vim, add path D:\Program files (x86) \vim\vim80 to environment variables;
3 Install ctags, download the file after extracting the file Ctags.exe file copy to the D:\Program files (x86) \vim\vim80 path;
4 Install taglist, download the file after decompression will plugin file Taglist.vim file copy to D:\Program files (x86) \vim\vim80\plugin path;
5) Install pydiction, download the file after decompression will complete-dict,pydiction and After\ftplugin path Python_pydiction.vim These three files copy to D:\Program file ( x86) \vim\vim80\ftplugin the path.
3. Configure _VIMRC
My file is under the D:\Program files (x86) \vim path.
Open the file _VIMRC, add the following statement at the end (Chinese character part does not add):
Let tlist_ctags_cmd= ' Ctags.exe ' (note: If Ctags.exe is not placed in the file mentioned in the 2nd step, here is to give the complete path)
pydiction_location = ' D:\Program Files (x86) \vim\vim80\ftplugin\complete-dict ' (Note: single quotes are your own Vim path) let
g: Pydiction_menu_height =
Map <f12>:!python.exe% (This statement is used to set up compilation shortcuts, after the program is written, press F12)
4. Write and compile the running program
Write the code as follows
Name = Raw_input ("What ' s your name?")
Print "Hello," +name+ "!
After saving, press F12 and enter to complete the program's compilation run, as shown below:
The above is a small series to introduce the analysis of the gvim8 configured as a Python IDE method, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!