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. _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
