Re: How can I move folded text ?
- Ron Aaron wrote:
> I have a file which I have folded manually. I decide I want toYou can at least use the '[ and '] marks to locate the start and end of
> re-arrange the text by moving a fold to another place. That is to say,
> I want to take all the lines in a fold, and move them to another part of
> the file.
> What I am currently doing is do dd on the fold, which deletes it and all
> the lines associated with it. Then I move to the place I want to insert
> the text, and do p
> While the text *does* move just fine, it is no longer folded, and zc
> tells me there is no fold there.
> Is there a way to do what I want, which is to keep the fold information
> (and keep folds folded) in such a scenario?
the text. Thus '[zf'] would create a fold for it.
How To Keep A Healthy Level Of Insanity:
10. Ask people what sex they are. Laugh hysterically after they answer.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///