John Otter wrote:
> is there a technical reason why manual folds aren't maintained in
> hidden buffers? As per documentation one must use mkview and loadview
> but for my specific use case
> that is suboptimal.
> I use a script to create manual folds to overcame vim slowdown when
> using syntax and foldexprs methods,
> but when I have a really big number of them reloading the view
> everytime I switch back to it is impossible since it takes up to 4-5
> seconds to process the view.
Folding information is stored with the window, not the buffer. You can
have one buffer in two windows, folded differently.
There are no hidden windows, so if the buffer leaves the window the fold
info is gone.
Perhaps you can move the window to another tab that lives in the
background?
--
hundred-and-one symptoms of being an internet addict:
205. You're constantly yelling at your spouse, family, roommate, whatever,
for using the phone for stupid things...like talking.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.