How VIM moves across multiple trees under a huge source tree

I just want to switch from SourceInsight to VIM. I know the basics of VIM, I also study some pop plugins (project, fuzzlefind, taglist), but I still have some questions about my main script.

I worked on a huge source tree. It is too cumbersome that I cannot create a tag for each subfolder or add them to the project, and in fact I am not interested in most folders in the tree. I just need to work with several under the trees. On these trees, I would like to:

  • Navigate with tags
  • open the file using the file name;
  • grep among folders in my project or in only one subfolder;
  • update tags when updating a file.

I have been using SourceInsight for several years and I need to do this work every day. If I want to switch to VIM, I have to make sure that I can do the same.

Thank,

+3
source share
1 answer

what you need is cscope, which can create a database with the files you specify. You need to tell cscope which files you want to create tags with. This link may help: cscope_vim

But cscope + vim cannot automatically update tags; you need to update yourself or do it with some shell script.

+1
source

Source: https://habr.com/ru/post/1730745/


All Articles