The plugin yegappan/taglist and the plugin vim-latex are very nice to navigate within the table of content of a latex document. There is an issue however on my system section titles are duplicated. Example based on minimal latex.

enter image description here

If I disable the vim-latex plugin, the taglist appears without repetitions, but it has less details on figure and table references and it is missing some subsubsections.

  • How to prevent duplicated section titles in the taglist pane?

Update with additional information:

Updated question:

  • I'd like to keep only tags generated by vim-latex. How to disable definitions generated externally?
  • 1
    Bonsoir Paul. I'm not quite sure how to fix this, however I think you should clarify the way you generate your tags, this might help others help you better. A link to the plugin would also be great. Is it this one?
    – Biggybi
    May 28, 2020 at 15:53
  • Does it change if you use \section instead of \section*?
    – D. Ben Knoble
    May 28, 2020 at 17:18
  • 1
    Maybe bring this up on the Issues page of both the respective projects? Surely they must have git repos? May 28, 2020 at 19:16
  • 1
    Since you're not building your tags a la mano, there's nothing much we can do, unless you've done something wrong with your config. If that could be the case, you can update your post with your config.
    – Biggybi
    May 28, 2020 at 20:01
  • @D.BenKnoble yes it also happens with \section. May 29, 2020 at 7:03

1 Answer 1


I now use the vimtex plugin with the :VimtexTocOpen command to open a table of content for latex files.

See also :help vimtex-nf-tag-nav:

One may navigate by tags with the |CTRL-]| mapping, e.g. from \eqref{eq:example} to the corresponding \label{eq:example}. However, this requires that a tag file has been generated with |ctags|. I recommend that one uses the maintained version of ctags. In addition, I recommend that one uses a plugin that automatically generates the tag files as necessary, e.g. gutentags. See |vimtex-faq-tags| and |vimtex-faq-tags-bibtex| for concrete examples.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.