Hello all,
I have added new custom variable 'Gtags_Emacs_Like_Mode' to gtags.vim.
The concept of this mode is the idea of Andrey Butirsky. Thank you Andrey!

Gtags_Emacs_Like_Mode   use the tag files of the project to which the
current file
                        belongs instead of the current project. Every
path name is
                        always treated as an absolute path name.

[Example]
$ cd /usr/src/A         # Project A
$ gtags
$ cd /usr/src/B         # Project B
$ gtags
$ pwd
/usr/src/B              # current project
$ vi /usr/src/A/main.c
...
:Gtags main

        By default, 'Gtags' uses the tag files of Project B.
        If Gtags_Emacs_Like_Mode == 1, 'Gtags' uses the tag files of Project A.

You can use this mode by the following setting:

        [$HOME/.vimrc]
        let Gtags_Emacs_Like_Mode = 1

I would appreciate it if you let me know the problem.
Enjoy!

Regards,
Shigio
-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB

Attachment: gtags.vim
Description: Binary data

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to