ludovicchabant/vim-gutentags

Is there a way to force gutentags to generate only one tag file?

SKOHscripts opened this issue · 0 comments

To give a bit of context, I’m working in a big project, containing a lot of git repos all connected together. That is why I often need to look for tags that are in another repo. Gutentags is very useful because it manages all my tags automatically and updates them in a file. However, I’d like it to update them in a single file, where I want to, and not in multiple tag files. Using fzf then allows me to catch the right tag.

I created a Maketags command in my vimrc that creates all the tags in a single file, but it freezes with GVim and not with Vim:

command! MakeTags !ctags -V -R --c++-kinds=+px --extra=+qf --excmd=pattern --exclude=Makefile -f /root/of/the/project/tag_file /root/of/the/project/

It is also not as useful as gutentags and its autoreload function.

Do someone know what to do?