Steven Woody wrote:,
>
> Can I fold/unfold c/c++ code blocks?  Thanks.
:he zo
:he zO
:he zc
:he zC
:he 'fdm'

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



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

Reply via email to