Is there any vim-tool providing an efficient navigation through a Latex-document structure. It would be very useful to have something like a NERDTree panel representing the sections/subsection structure of the latex-document.
Expanding mnosefishs answer (thanks by the way, it was you who made me discover VOoM):
VOoM seems indeed to be the best choice. It comes with latex support: Install it and type :Voom latex and it will show you a sidebar with a foldable structure outline allowing you to navigate in your tex file.
As mentioned by kamilk, tagbars (in my view decisive) problem is the fact that it groups parts to parts, sections to sections instead of nesting them. VOoM works with folds instead of tags, so it's better suited for a structure outline, use tabbar if you want an overview by syntax elements.
Quoting from tabbar man: Sort has been disabled for LaTeX so that the sections appear in their correct order. They unfortunately can't be shown nested with their correct scopes since as already mentioned the regular expression approach doesn't support that.
tagbar
plugin can show an outline of my latex file. (section, subsections etc.)
http://github.com/majutsushi/tagbar
right side is the tagbar window, I have enlarged it a little:
You might try using the vim plugin VOoM, which might be able to hyperlink the sections.
From the Plugin Description:
VOoM (Vim Outliner of Markups) is a plugin for Vim that emulates a two-pane text outliner.
VOoM can currently handle >20 markup formats that have headlines and support an outline structure, including popular lightweight markup languages such as reST, Markdown, Pandoc, AsciiDoc, Org-mode, Wiki, LaTeX, etc. (Headlines are also called headings, headers, section headers, titles.)
The vimtex plugin provides the command VimtexTocOpen
which opens an outline. This might be more useful when browsing large LaTeX documents, because it scans the whole project, i.e. it also looks into includes
or inputs
and shows them correctly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With