On 3/16/07, John north <[EMAIL PROTECTED]> wrote:
RE: Java syntax folding question
I didn't find the syntax scripts worked well for me with java, so I use this
instead.
zz collapses to function definitions
za completely unfolds a function
" Set folding stuff
:set fmr={,}
:set fdm=marker
:map <silent> zz :set foldlevel=1^M1G
:map <silent> za :set foldlevel=100^Mz^Mk
Where ^M was created by CTRL-Q and Carriage Return (I believe this is CTRL-V
on a nix box)
I hope this helps
Thanks! This works like a charm. I haven't tried the other script file
yet. I just used these and they do what I need.