Re: Folding and the command line
> You asked, "What is your foldmethod"file, or
> set foldmethod=indent
> set foldlevel=0
>Please clarify what you ask:
>(1) when vim is invoked with +num option, do not fold anything in the
>(2) when vim is invoked with +num option, fold all folds except theExtra credit for #2, but will settle for #1.
> fold containing the current line ?
Tim did show that
% vim +55 -c 'norm zO' file
Seems to do #2. but I'd be great to have this functionality with the
simpler command line
% vim +55 file
Soli Deo Gloria
Director of Design Verification
Plano TX. 75074
Co-author "Assertion-Based Design"