Thanks for your reply.

I kind of had a DOH moment there and figured out what i needed.

Seems that, when i load the xml.vim file, and have the fold method set to 
syntax, that is what i need.

I had been doing a zA, to open everything, turns out that instead of doing 
that, if i had did zo, that does EXACTLY what i need!

Thanks for your help and time. Sorry i was so stupid!


Russ


On Tue, Nov 08, 2011 at 08:37:34AM -0800, Ben Fritz wrote:
> 
> 
> On Nov 7, 11:38 am, [email protected] wrote:
> > I have the folding set for vim when i edit xml files. It's all folded into 
> > one fold. That's fine. I like to be able to get a view of the elements that 
> > make up the current element. Can i unfold only those siblings contained in 
> > the current element, and vice versa?
> >
> 
> I'm not clear on exactly what you want, but I think one of the
> following will work:
> 
> 1.
> zM
> move/zo until you have the view you want (or maybe just hit zv)
> 
> 2.
> zM
> move/zo until you find the parent element (or hit zv, go to parent,
> and close it with zc)
> zO to open the parent element and all descendants
> 
> -- 
> 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 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

Reply via email to