|
From: | Tama Communications Corp. |
Subject: | Re: The globalrc file, |
Date: | Sun, 15 Jun 2014 14:42:26 +0900 |
On 6/14/2014 7:56 PM, Tama Communications Corp. wrote:Sorry if Question (2) was not clear. Question (2) is about global, not about gtags. To recap from previous email:
> Question 1: In the above, is the "cd <project>" required or
> can the command "gtags -f <file> <db directory>" be issued from any
directory?
> With version 6.2.11, gtags failed without the "cd"; I can try with
6.3 on Monday.
"cd <project>" is required.
> Question 2: how will global know where the data-base is for each gvim?
Usually, it exists in the project root directory.
Why don't you invoke gtags simply as follows?
Data base for project_1 is at <dbpath>/prj_1/
Data base for project_2 is at <dbpath>/prj_2/
Source for project_1 is at <first_path>/prj1
Source for project_2 is at <some_other_totally_different_path>/prj_2
Inside one gvim, do ":cd <first_path>/prj1"
Inside other gvim, do ":cd <some_other_totally_different_path>/prj_2"
Now how to use global for the two projects from gvim?
Thanks,
--Suresh
[Prev in Thread] | Current Thread | [Next in Thread] |