On 3/11/2013 4:29 PM, Ben Fritz wrote:
On Monday, March 11, 2013 2:53:10 PM UTC-5, ping wrote a big HTML formatted message,
which the Google Groups interface mangles too much on reply to be worth quoting, where he
asked how to unfold up to "sibling" folds.
again HTML? I thought I carefully disabled the "html" checkbox in TB...
sorry about that. will check once I got a chance to touch my work PC.
Are you looking for the zr and zR commands? You mentioned trying zc, zC, zm,
and zM.
Rather than using zo or za to open a fold, you could zr until you have the view
you want. If you manually open/close some folds, you can use zx to re-apply the
fold level set by zr/zm.
it looks the "zx" seems does exactly what I meant to have...it fold all
siblings , and keep current (where the cursor is )fold unfolded.
looking at help zx, it does so many things!...
zx Update folds:
Undo manually opened and closed folds:
re-apply 'foldlevel', then
do "zv": View cursor line.
Also forces recomputing folds.
This is useful when using
'foldexpr' and the buffer is changed in a way that
results in
folds not to be updated properly.
thanks as always!
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" 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/groups/opt_out.