I am new to Vim so I apologize if the answer to this questions is too obvious. I wanted to try Vim-LaTeX, and I like it so far after a couple of days using it.
This is the problem that I have:
I cannot find a way to configure my
.vimrc file for custom folding options. As of now, every time I open a TeX file, my preamble, sections, and most of the environments are folded. This can be very annoying, especially when I want to look through code of a large files. Based on that, I have a couple of questions that I will list below.
zain normal mode will unfold the line I am on, and
\rfwill refresh folding of the entire document. Is there a command that will unfold the whole document?
- How can I configure
.vimrcor any other file so that I completely turn off folding for all TeX documents?
- How can I customize Vim to fold only what I want? As of right now, I would only prefer to fold the preamble in all my TeX files.