On Wed, Sep 23, 2009 at 12:10 AM, Gary Johnson <[email protected]> wrote:

>
> On 2009-09-22, Steven Woody wrote:
> > Hi,
> >
> > When I set fdm=syntax, any c file I opened automatically becomes fold-ed.
>  It's
> > not what I want, I just hope I can fold (close) a block of code when I
> need to
> > do it.  Have almost all the code fold-ed look ugly.  Is there a setup for
> this?
> > Thanks.
>
> See, for example,
>
>    :help 'foldlevel'
>    :help 'follevelstart'
>    :help zR
>    :help zM
>
> and most of all,
>
>    :help folding
>
>
many thanks!  Now I defined a autocmd for all c/cpp source files those will
be syntax-folded at level .

-- 
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