Re: make gtags.vim work for any dir
Andrey Butirsky <[email protected]> Fri, 25 Jan 2019 18:52:59 +0300
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 25.01.2019 18:05, Andrey Butirsky wrote: > In the 'gtags.vim', we could write something like this note: Typo, so again: " Global will search for it's tag databases starting from the current file's path upwards. " If you need precise database location, set GTAGSROOT environment variable to it's path directory before you start Vim or in your vimrc file. " If there are no files opened, the search is started from current directory. " " :e /project1/subdir/lib.c " :Gtags main <- from now on, search /project1/subdir, /project1, / for GTAGS. " :e /project2/main.c " :Gtags main <- from now on, search /project2, / for GTAGS.