On Tue, Sep 22, 2009 at 1:21 AM, Charles Campbell <
[email protected]> wrote:

>
> Steven Woody wrote:,
> >
> > Can I fold/unfold c/c++ code blocks?  Thanks.
> :he zo
> :he zO
> :he zc
> :he zC
> :he 'fdm'
>
>
These commands only result in an error: No Fold Found.



> I use the space, myself, with the following map: (to do both opening and
> closing)
>
> nno    <silent> <space>    :exe 'silent! normal! '.((foldclosed('.')>0)?
> 'zMzx' : 'zc')<cr>
>
> Regards,
> Chip Campbell
>
>
>
> >
>


-- 
Life is the only flaw in an otherwise perfect nonexistence
   -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 ([email protected])

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

Reply via email to