Thursday, December 3, 2009

Re: Opening fold recursively

> zO Open all folds under the cursor recursively.
>
> ...hovever I cannot make it work.
> For example I got class with folded methods. When I put cursor on
> folded method and press zO is opens just 1st level folds in that
> method. So it does exaclty the same as zo. Docs suggest that it should
> do recursive open. I'm really confused...

I'm somewhat confused as well because it Works For Me(tm). My
first thought is to set your 'foldcolumn' to some modest value
like 5 to visualize where your folds actually are. I see correct
behavior if there *are* folds, so I want to make sure that you
have folds to recursively be opened. Granted, this may be
obvious to you, but without asking, I'm eliminating an easy answer :)

It would also help to know the output of:

:set ft? foldmethod? foldlevel?

to see if they're affecting anything.

-tim


--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: