sponsor Vim development Vim logo Vim Book Ad

ctagloader : The script will traverse path tree and load ctag found on the way.

 script karma  Rating 8/6, Downloaded by 555  Comments, bugs, improvements  Vim wiki

created by
Zuocheng Ren
script type
This script will automatically traverse your path tree from the current directory all the way to root and load tags files found along the way.
This is often useful when you have a root ctag file for your project and you often work in some subdirectories of your projects.
For example, if you have a project structured as follows:
There is a ctag file (often named as tags/TAGS) in foo/ and you constantly work in foo/bar/ or foo/baz/
Say you are now in foo/bar/. If you execute "vim hello_world.c", the ctag file in foo/ will be found and loaded.
install details
Put ctagloader.vim into ~/.vim/plugin/. Then, when you load a file in vim, all the ctag files found should already be loaded. You can check if your ctag file is loaded by :set tags?.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ctagloader.vim 0.11 2012-10-15 7.0 Zuocheng Ren ctag can output a tag file either called tags or TAGS. Now it can match both tags and TAGS.
ctagloader.vim 0.10 2012-10-12 7.0 Zuocheng Ren Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo