Vi and Vim Asked by Paul Rougieux on December 14, 2021
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.
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.
Update with additional information:
:verbose set tags?
shows tags=./tags,./TAGS,tags,TAGS
Updated question:
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. fromeqref{eq:example}
to the correspondinglabel{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.
Answered by Paul Rougieux on December 14, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP