I see vim help on tags shows: :set tags=./tags,tags,/home/user/commontags In this example the tag will first be searched for in the file "tags" in the directory where the current file is. Next the "tags" file in the current directory. If it is not found there, then the file "/home/user/commontags" will be searched for the tag.
Does this seem to help your case ? On Thu, Sep 19, 2013 at 10:00 PM, PrasannaKumar Muralidharan < [email protected]> wrote: > Hi All, > > I am using vim with ctags. I have some C source files in a folder > which is already indexed with ctags. I have set vim to call ctags > whenever a file is saved in that folder. The tags file is big (21 lakh > lines) as I have indexed header files also. So whenever a ctags is > called it takes time to modify the tags file. > > To solve this I need to have two tags file (in same folder) with vim. > One tags file will have index of system supplied header files (it is > static and will not change), the other tags file should have index of > C code being developed currently (not static and changes). Is there > anyway for vim to recognise both the tags file from same folder? > > Thanks and Regards, > PrasannaKumar Muralidharan > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > ILUGC Mailing List Guidelines: > http://ilugc.in/mailinglist-guidelines > -- Kish --------------- Esse Quam Videri krisk.wordpress.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
