Hello,

Folds can't overlap, so Vim extends the range of the new fold to line 15 so
that it completely encloses the first fold.  Use ':set foldcolumn=5' to see
what's happening with the folds as you create them. If you don't want Vim to
extend the folds, then you'll need to delete them first using 'zd'.

regards,
Peter


--- calmar <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> on my:
> VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 12 2007 14:19:03)
> Included patches: 1-192
> e.g on this file:
> 
> http://www.calmar.ws/tmp/dddddd.tex
> 
> having: foldmethod=manual 
> 
> e.g. I make a manual fold on line number 9 to 15
> 9GV15Gzf
> open it again
> zo
> go to the sixth line and want to make a fold from 6 to 9
> 6GV9Gzf
> 
> it folds a 10 line range (6-15) instead of the v-highlight 6-9.
> (it includes obviously the old fold in that new one in some way)
> 
> What could I do about that? I only want a plain 'line 6 to 9' fold
> without including the 'ex' manual fold from 9 to 15.
> 
> 
> thanks for any hints about that,
> marco
> 
> 
> 
> -- 
>    (o_  It rocks: LINUX + Command-Line-Interface
>    //\
>    V_/_                     http://www.calmar.ws
> 

Send instant messages to your online friends http://au.messenger.yahoo.com 

Reply via email to