Monday, February 20, 2012

vim expression to fold latex documents

When I open latex files I would like to be able to fold with one vim expression on the top of the file from \htitle to \clearpage.

I have a lot of blocks like this:
\htitle{Latex Title}
bla bla bla
bla bla bla
\clearpage

And I would like to get this
+ Latex Title

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: