Vim for Windows --ctags

What is ctags?

ctags -- Generate tag files for source code,which is a tool used for facilitating reading  and  facilitating writing.

Installation in windows.

Step 1: download the ctags package, and unzip the package

Step 2:find the file of ctags.exe and put it into the absolute path of your workplace

Step3: this step is very import, you must enter your workplace from cmd for GVIM,and run this command as following:

ctags -R*

and then you will find one file named tags.

Warm tips: I tried create a bat file and sealed a command --ctags -R*, and run it, it failed.

step 4: add some command in _vimrc.

"tags
set tags=C:Userscaich5workspace ags

原文地址:https://www.cnblogs.com/pickKnow/p/8980967.html