1. Download The ctags file from the following address and copy the ctags.exe file to the gvim directory, for example, E: \ Vim \ vim73 \ ctags.exe.
Http://sourceforge.net/projects/ctags/files/ctags/5.8/ctags58.zip/download
After that, you 'd better configure the system path (for Windows) and add the vim path after the path, for example:
2. Download The taglist from the following address and copy the doc and plugin to the corresponding directory of gvim:
Http://www.vim.org/scripts/script.php? Script_id = 1, 273
Copy the doc \ taglist.txt file ~ \ Vim \ vimfiles \ doc
Copy the plugin \ taglist. Vim file ~ \ Vim \ vimfiles \ plugin
3. Configure the _ vimrc file and add the following lines to _ vimrc (enter your own path in the second line ):
"Specifies the ctags.exe path let tlist_ctags_cmd = 'e: \ Vim \ vim73 \ ctags.exe 'Let tlist_auto_open = 1
Use Vim to open a file again, and the taglist is displayed on the left side:
4. taglist command
Input: tlist can be used to open or close the taglist.
Press F1 to view all available commands
5. "e433: No tag file" error
The reason is that no tag is generated for the file,
There is a test. TCL (TCL language file) on disk F)
The method is as follows: F :\> ctags test. TCL
If it is a project that contains multi-level folders and multiple files, if it is a test folder, enter the test folder (-r indicates recursion) F: \ test> ctags-R * and then set the tags path in VIM: Set tags = F: /tags 6. The last problem I encountered sometimes you still cannot fully obtain the ctags function in windows. In this case, check the line of code in your _ vimrc file:
"Specifies the ctags.exe path let tlist_ctags_cmd = 'e: \ Vim \ vim73 \ ctags.exe'
Check whether the path is correct. If you have configured E: \ Vim \ vim73 \ In path, you can safely delete this line. I started to make an error on my PC. Then I deleted this line, but kept the configuration in path correct.