[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.
- make gtags.vim work for any dir, Andrey Butirsky, 2019/01/22
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/23
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/23
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/23
- Re: make gtags.vim work for any dir,
Andrey Butirsky <=
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/23
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/24