[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New custom variable Gtags_Emacs_Like_Mode for gtags.vim
From: |
Shigio YAMAGUCHI |
Subject: |
New custom variable Gtags_Emacs_Like_Mode for gtags.vim |
Date: |
Tue, 29 Jan 2019 10:28:05 +0900 |
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 <address@hidden>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB
gtags.vim
Description: Binary data
- New custom variable Gtags_Emacs_Like_Mode for gtags.vim,
Shigio YAMAGUCHI <=