bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make gtags.vim work for any dir


From: Andrey Butirsky
Subject: Re: make gtags.vim work for any dir
Date: Wed, 23 Jan 2019 18:35:29 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0

Yes, like this.
Also, it works if the source file and GTAGS are not exactly in the same
directory, but just in common path:

$ cd some_random_dir
$ vim
:e /xxx/subdir/a.c
:Gtags main             From now on, use /xxx/GTAGS.


Shigio, I would love if we could make the needed changes in the
gtags.vim upstream.
In my opinion, it's pretty useful feature.


On 23.01.2019 18:21, Shigio YAMAGUCHI wrote:
> Do you mean the following usage?
>
> :e /xxx/a.c             Load a file.
> :Gtags main             From now on, use /xxx/GTAGS.
> :e /yyy/x.c             Load another file.
> :Gtags main             From now on, use /yyy/GTAGS.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]