Vim: LaTeX-suite table of contents
maybe I'm drastically overlooking something trivial, but is there any possibility in Vim (with LaTeX-suite) to view 开发者_如何学Cthe table of contents?
To be more precisely, I'm looking for something equivalent to emacs'/AucTeX' C-c =
, which displays a nice readable table of contents in a separate buffer.
maybe use:
:let @a=''
:g/\\\(part\|chapter\|section\|subsection\|subsubsection\|paragraph\|subparagraph\)\>/y A
:winc n
:put a
maybe have a function to do that and map whatever you like to that.
精彩评论