1. Source ProgramIn the upper-level directory, type the ctags command:
For example, in the/home/shipfi/code/qoe directory, type:
# Ctags-R
The above command will generate the tags file in the current directory.
2. After using Vim to open the file, type the following command:
: Set tags =/home/shipfi/code/qoe/tags
3. After the above settings, you can use Ctrl +] in the source file to redirect the relevant functions in the source file.
4. You can also put this sentence in ~ /. Vimrc, If you often program in this project.
5. If you want to jump back to the previous position, you can press Ctrl-t.
6. After the program is modified, the tags file cannot be automatically rebuilt. You must manually run the following command:
# Ctags-R
For details about taglist. And more vim operations, refer:
Http://blog.csdn.net/wooin/archive/2007/10/31/1858917.aspx