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 (Apologies if this arrives twice).