First download the Ctags installation.
To http://ctags.sourceforge.net/ download ctags source code ctags-5.6.tar.gz
TAR-XVF ctags-5.8.tar.gz
CD ctags-5.8
./configure
Make install
In the user's home directory, under the Vim profile. VIMRC, add "Set tags+= Project Catalog" To save, if there is no. VIMRC configuration file, it is created from.
Then, under the corresponding project directory, use the Ctags-r command. This will be done, you can use the fast.
Note: If the project directory is a Linux kernel source code, you should run make arch=x86 tags before running ctags-r, which avoids the code impact of other schemas, such as the ARM architecture
CTRL + "]"----> Jump to Definition
CTRL + "T"----> can be returned to the original place. Even if the user uses n times "CTRL +" to find n variables, pressing n "Ctrl+t" also returns to the original open file, which is returned as the original path.
This article is from the "Instant over" blog, please be sure to keep this source http://misliang.blog.51cto.com/6973084/1699252
Tips for using Vim to view Code