Wednesday, April 27, 2011

Re: how to fold across file

On 27.04.11,16:16, vicky b wrote:
> Hi all,
>
> I have all the java sdk 1.6 source files ,now I want to close all the
> folds in a file and if possible all java source files any
> suggestions?.

Something like this should work if you have all the files open in a
buffer:

:silent! bufdo if expand('%')=~"*.java"|set foldlevel=0|endif


Jostein


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: